Re: [xslt] Problem with xsltproc on Windows
- From: "John Escott" <JRE scanlaser nl>
- To: xslt gnome org
- Subject: Re: [xslt] Problem with xsltproc on Windows
- Date: Thu, 8 Dec 2011 12:20:46 +0000
Hi CY,
I've never used libxml catalogs on windows, but I have used file urls and
normally you need 3 /s after the file:.
So the first thing I'd try is changing your catalog rewritePrefixes etc to
use file:///C:/...
best regards, John.
> cmake.exe -P 3ptarb_mann_html.cmake
> Resolve: sysID C:///xsl/xhtml-1_1/docbook.xsl
> 1692 Parsing catalog
C:/docs/brlcad-build/doc/docbook/brlcad-xml-catalog.xml
> C:/docs/brlcad-build/doc/docbook/brlcad-xml-catalog.xml:
> 0: element system: Catalog error : system entry 'uri' broken ?:
>
file://C:/docs/brlcad/doc/docbook/resources/other/standard/svg/svg11-tiny-flat.dtd
> C:/docs/brlcad-build/doc/docbook/brlcad-xml-catalog.xml:
> 0: element rewriteSystem: Catalog error : rewriteSystem entry
> 'rewritePrefix' broken ?:
> file://C:/docs/brlcad/doc/docbook/resources/other/standard/svg/
> C:/docs/brlcad-build/doc/docbook/brlcad-xml-catalog.xml:
> 0: element rewriteURI: Catalog error : rewriteURI entry
> 'rewritePrefix' broken ?:
> file://C:/docs/brlcad/doc/docbook/resources/other/standard/svg/
> C:/docs/brlcad-build/doc/docbook/brlcad-xml-catalog.xml:
> 0: element rewriteURI: Catalog error : rewriteURI entry
> 'rewritePrefix' broken ?:
> file://C:/docs/brlcad/doc/docbook/resources/other/standard/xsl/
> C:/docs/brlcad-build/doc/docbook/brlcad-xml-catalog.xml:
> 0: element rewriteURI: Catalog error : rewriteURI entry
> 'rewritePrefix' broken ?:
> file://C:/docs/brlcad/doc/docbook/resources/brlcad/
> C:/docs/brlcad-build/doc/docbook/brlcad-xml-catalog.xml:
> 0: element rewriteURI: Catalog error : rewriteURI entry
> 'rewritePrefix' broken ?: file://C:/docs/brlcad/doc/docbook/
> C:/docs/brlcad-build/doc/docbook/brlcad-xml-catalog.xml
> added to file hash
> Resolve URI C:///xsl/xhtml-1_1/docbook.xsl
> Found C:/docs/brlcad-build/doc/docbook/brlcad-xml-catalog.xml in file
hash
> Resolve: sysID C:///xsl/xhtml-1_1/docbook.xsl
> Found C:/docs/brlcad-build/doc/docbook/brlcad-xml-catalog.xml in file
hash
> Resolve URI C:///xsl/xhtml-1_1/docbook.xsl
> Found C:/docs/brlcad-build/doc/docbook/brlcad-xml-catalog.xml in file
hash
> warning: failed to load external entity "C:///xsl/xhtml-1_1/docbook.xsl"
> compilation error: file
...
>
> The catalog file contents are:
>
> <?xml version='1.0' encoding='ASCII'?>
>
> <catalog xmlns='urn:oasis:names:tc:entity:xmlns:xml:catalog'>
>
> <!-- use local versions of some DTDs -->
> <system
> systemId='http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'
> uri='file://C:/docs/brlcad/doc/docbook/resources/other/standard/svg/
> svg11-tiny-flat.dtd'
> />
>
> <rewriteSystem
> systemIdStartString='http://www.w3.org/Graphics/SVG/1.1/DTD/'
>
rewritePrefix='file://C:/docs/brlcad/doc/docbook/resources/other/standard/svg/'
> />
>
> <rewriteURI
> uriStartString='http://www.w3.org/Graphics/SVG/1.1/DTD/'
>
rewritePrefix='file://C:/docs/brlcad/doc/docbook/resources/other/standard/svg/'
> />
>
> <rewriteURI
> uriStartString='/xsl/'
>
rewritePrefix='file://C:/docs/brlcad/doc/docbook/resources/other/standard/xsl/'
> />
>
> <rewriteURI
> uriStartString='/brlcad/'
> rewritePrefix='file://C:/docs/brlcad/doc/docbook/resources/brlcad/'
> />
>
> <rewriteURI
> uriStartString='/doc/'
> rewritePrefix='file://C:/docs/brlcad/doc/docbook/'
> />
>
>
> </catalog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]