2009/11/12 Thomas Treutner <thomas(a)scripty.at>:
On Thursday 12 November 2009 13:47:32 Daniel Veillard wrote:
> On Thu, Nov 12, 2009 at 11:34:13AM +0000, Daniel P. Berrange wrote:
> > You are missing the XHTML DTDs on your system. On Fedora/RHEL this is
> > in the RPM called xhtml1-dtds-1.0-20020801.4.noarch
>
> Note that it should not be a hard requirement, you should just get
> the errors about the missing DTDs making validation impossible but
> the HTML files are generated.
Installed w3c-dtd-xhtml (debian lenny), doesn't help, because:
xmlcatalog /etc/xml/catalog
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
No entry for SYSTEM
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
No entry for URI
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
xmlcatalog /etc/xml/catalog "-//W3C//DTD XHTML 1.0 Strict//EN"
file:///usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd
I'm not much into XML - is the Debian package faulty or shouldn't one rely on
the way the docs/Makefile works?
kr,t
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