Re: [xml] LibXML Parse error: failed to load external entity "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"



On Fri, Jul 17, 2009 at 11:51:21AM +0200, Michael Ludwig wrote:
Ujjal Saha schrieb:
                                          ^
We have downloaded the xhtml.dtd. But, How to install the xhtml11.dtd?
to solve this error.

You'll want to read up on XML catalogs.

http://en.wikipedia.org/wiki/XML_Catalog

On Linux, they are typically to be found under /etc/xml.

Then, xmllint can be told to use the catalog via the --catalogs option.

  It actually does use /etc/xml by default, and the option is
available for user defined catalogs. On Fedora/Red Hat/Centos the
XHTML1 dtds are available as the xhtml1-dtds package

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]