On Thu, Jun 16, 2005 at 01:29:53AM +0200, Ulf Lamping wrote:
> details here).
>
> So I have c:\cygwin\bin, c:\cygwin\etc, ... you get it :-)
Find my comparison below (it looks like maybe the catalog file is just a bit
wrong on cygwin?)
Btw: This is an excerpt from "man xsltproc":
--catalogs
Use the SGML catalog specified in SGML_CATALOG_FILES to resolve the
location of external entities. By default, xsltproc looks for the
catalog specified in XML_CATALOG_FILES. If that is not specified, it
uses /etc/xml/catalog.
ciao
Joerg
Cygwin setup:
=============
<?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">
<public publicId="-//OASIS//DTD DocBook XML V4.2//EN"
uri="http://www.oasis-open.org/docbook/xml/4.2/"/>
<rewriteSystem
systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2/"
rewritePrefix="/usr/share/xml/docbook/4.2/"/>
<rewriteURI
uriStartString="http://docbook.sourceforge.net/release/xsl/current/"
rewritePrefix="/usr/share/docbook-xsl/"/>
</catalog>
Error:
======
warning: failed to load external entity
"http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
cannot parse
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
Suse 9.3:
=========
/etc/xml/suse-catalog.xml:
...
<delegateSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/" catalog="file:///etc/xml/docbook-xsl-stylesheets.xml"/>
...
/etc/xml/docbook-xsl-stylesheets.xml:
<?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">
<rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/1.68.1" rew
ritePrefix="file:///usr/share/xml/docbook/stylesheet/nwalsh/1.68.1"/>
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/1.68.1" rewritePref
ix="file:///usr/share/xml/docbook/stylesheet/nwalsh/1.68.1"/>
<rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current" re
writePrefix="file:///usr/share/xml/docbook/stylesheet/nwalsh/1.68.1"/>
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePre
fix="file:///usr/share/xml/docbook/stylesheet/nwalsh/1.68.1"/>
</catalog>
--
Joerg Mayer <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.