On Thursday 12 November 2009 16:01:39 Matthias Bolte wrote:
> I came across this problem some time ago, too. I'm using Ubuntu, so
> it's basically Debian.
>
> I somewhat solved it by hacking my /etc/xml/catalog. I added this into
> the <catalog> element:
>
> <rewriteSystem
>
systemIdStartString="http://www.w3.org/TR/xhtml1/DTD/"
> rewritePrefix="file:///usr/share/xml/xhtml/schema/dtd/1.0/"/>
>
> <rewriteURI
>
uriStartString="http://www.w3.org/TR/xhtml1/DTD/"
> rewritePrefix="file:///usr/share/xml/xhtml/schema/dtd/1.0/"/>
>
> Matthias
Thanks for the tip, but it still fails.
http://pastebin.com/m3bf17c73
http://pastebin.com/m90f9ba6
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<rewriteSystem
systemIdStartString="http://www.w3.org/TR/xhtml1/DTD/"
rewritePrefix="file:///usr/share/xml/xhtml/schema/dtd/1.0/"/>
<rewriteURI
uriStartString="http://www.w3.org/TR/xhtml1/DTD/"
rewritePrefix="file:///usr/share/xml/xhtml/schema/dtd/1.0/"/>
<delegatePublic publicIdStartString="ISO 8879:1986//ENTITIES"
catalog="file:///etc/xml/sgml-data.xml"/>
........
</catalog>
# ls -l /usr/share/xml/xhtml/schema/dtd/1.0/
total 104
-rw-r--r-- 1 root root 898 2004-08-11 06:17 catalog
-rw-r--r-- 1 root root 1385 2004-08-11 06:17 catalog.xml
lrwxrwxrwx 1 root root 31 2009-11-12 12:50
xhtml1.dcl -> ../../../../declaration/xml.dcl
-rw-r--r-- 1 root root 32950 2002-08-01 20:23 xhtml1-frameset.dtd
-rw-r--r-- 1 root root 25473 2002-08-01 20:23 xhtml1-strict.dtd
-rw-r--r-- 1 root root 32112 2002-08-01 20:23 xhtml1-transitional.dtd
Any suggestions?
kr,tom
Strange.
Does it help if you revert the changes to /etc/xml/catalog and apply
the attached patch?
Matthias