Re: [xslt] Problem with xsltproc on Windows



Ah, good point!  I have done so, and it eliminates at least one source
of trouble - I guess the presence of C: instead of the more typical
/usr was why I was seeing that - /usr must have been supplying the 3rd
slash on other platforms.  I also reworked our setup to not need the
catalog file, so I'm not sure if that was the only issue, but it was
definitely one of them - thanks!

CY

On Thu, Dec 8, 2011 at 7:20 AM, John Escott <JRE scanlaser nl> wrote:
> 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
>
> _______________________________________________
> xslt mailing list, project page http://xmlsoft.org/XSLT/
> xslt gnome org
> http://mail.gnome.org/mailman/listinfo/xslt


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