On Thu, Nov 12, 2009 at 03:52:38PM +0100, Thomas Treutner wrote:
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?
yes they are faulty as they registered the DTD just by public
identifier and not by system identifier. In XML only system identifiers
are mandatory, so that's rather dubious at best and broken if you ask
me, to only register public IDs in an XML catalog !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/