[xml] Loading the DTD external subset
- From: "Peter Jacobi" <pj walter-graphtek com>
- To: xml gnome org
- Subject: [xml] Loading the DTD external subset
- Date: Wed, 4 Apr 2001 15:07:54 +0200
Dear Daniel, All,
I'm more than a bit tired, so my problems may originate between my
ears, but...
I have a simple xml file to load over http:
<?xml version="1.0"?>
<!DOCTYPE default SYSTEM "/en/i18n.dtd">
<root>
<navbar>
<button ID='back' img='back.png' tooltip='&BACK.TT;'
text='&BACK.BT;'/>
<button ID='forward' img='forward.png' tooltip='&FORWARD.TT;'
text='&FORWARD.BT;'/>
</navbar>
</root>
At "/en/i18n.dtd" on the same server resides the DTD, which defines the
entities seen above.
Using the SAX parser of libxml2 2.2.11, the DTD will not be loaded, giving
the message that "/en/i18n.dtd" cannot be opened.
So it, seems the parser fails to build an absolute URL from the original
URL and "/en/i18n.dtd".
Am I missing something? What should I do to make this work?
Regards,
Peter Jacobi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]