[xml] xsltproc has problems with rewriteURI
- From: "Fischer, Oliver" <plexus snafu de>
- To: xml gnome org
- Subject: [xml] xsltproc has problems with rewriteURI
- Date: Fri, 15 Nov 2002 16:27:28 +0100
Hello,
my version of xsltproc seems not to be able to deal with the
rewriteURI entity in an XML catalog.
Background:
I wrote a customization layer for my DocBook document:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
<xsl:import
href="http://docbook.sourceforge.net/release/xsl/1.53.0/html/chunk.xsl"/>
.....
</xsl:stylesheet>
Since I am behind a firewall I have a local copy on my disk and
wrote a catalog.xml as this:
<?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="file:///home/plexus/data/docbook/xml/4.2/docbookx.dtd"/>
<rewriteURI
uriStartString="http://docbook.sourceforge.net/release/xsl/1.53.0/"
rewritePrefix="file:///home/plexus/data/docbook/xsl/1.53.0/" />
</catalog>
Actually I thought that xsltproc will use the rewriteURI entity
to find the style sheets. But it will still go over the net. Why?
Any ideas?
P.S.: Via xmlcatalog --shell, I can resolve the entry for the
docbook dtd.
--
Oliver Fischer - plexus[AT]snafu[DOT]de
[de] Das Internet stammt aus dem letzten Jahrtausend!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]