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

Re: XML files referencing DTDs via HTTP


On Mon, Dec 01, 2003 at 07:17:22AM +1100, Brian May wrote:
> /etc/cron.monthly/scrollkeeper:
> xmlNanoHTTPConnectAttempt: Error connecting to remote host - Connection refused/usr/share/gnome/help/gok/C/gok.xml:9: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";

This is caused by the fact, that the docbook XML package does
not register its DTDs with the XML subsystem.  The way it is
supposed to work is as follows.  There should be some XML
catalogs under /etc/xml/, which tell the system which local
file corresponds to which URL.

In the case above the corresponding file is


so the catalog should contain a line like

    <rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1.2"; rewritePrefix="/usr/share/sgml/docbook/dtd/xml/4.1.2"/>

Once this line is there, libxml will happily use the
local copy of the file.

I hope this helps,

Attachment: signature.asc
Description: Digital signature

Reply to: