[Gimp-docs] More on cygwin - DTD
Vitaly Lomov
lomovv at gmail.com
Wed Oct 25 00:40:38 PDT 2006
> 4.. It seems doing no harm, but when validating offline I get this error
> message:
> I/O error : Attempt to load network entity
> http://www.docbook.org/xml/4.3/docbookx.dtd
> ../src/appendix/bugs.xml:5: warning: failed to load external entity
> "http://www.docbook.org/xml/4.3/docbookx.dtd"
>
> "http://www.docbook.org/xml/4.3/docbookx.dtd">
>
> Do I need it? Cygwin is generating html files that look nice to me in spite
> of this error.
I found that default cygwin installation of docbook was pointing at
the wrong external address.
Here is the content of my /etc/xml/catalog file. The commented out
lines are what came during the package install, the lines below them
are mine. That seems to redirect validator from the root written in
our manual (docbook.org) to /usr/share/xml/docbook...
The root that comes with the package is oasis-open.org - it doesn't
match what we have in the manual, and the validator complains.
Ideally, cygwin package should be updated, but who knows.
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog
V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/"
rewritePrefix="/usr/share/docbook-xsl/"/>
<!-- <public publicId="-//OASIS//DTD DocBook XML V4.3//EN"
uri="http://www.oasis-open.org/docbook/xml/4.3/"/> -->
<public publicId="-//OASIS//DTD DocBook XML V4.3//EN"
uri="http://www.docbook.org/xml/4.3/"/>
<!-- <rewriteSystem
systemIdStartString="http://www.oasis-open.org/docbook/xml/4.3/"
rewritePrefix="/usr/share/xml/docbook/4.3/"/> -->
<rewriteSystem systemIdStartString="http://www.docbook.org/xml/4.3/"
rewritePrefix="/usr/share/xml/docbook/4.3/"/>
</catalog>
More information about the Gimp-docs
mailing list