[xml] xsltproc has problems with rewriteURI


my version of xsltproc seems not to be able to deal with the rewriteURI entity in an XML catalog.


I wrote a customization layer for my DocBook document:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";

<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.53.0/html/chunk.xsl"/>


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">

    publicId="-//OASIS//DTD DocBook XML V4.2//EN"

    rewritePrefix="file:///home/plexus/data/docbook/xsl/1.53.0/" />

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]