This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: XML catalog documentation
- From: Jeanson Mauritz <Mauritz dot Jeanson at iom dot sorman dot se>
- To: Bob Stayton <bobs at caldera dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Thu, 30 Jan 2003 16:34:55 +0100
- Subject: RE: DOCBOOK-APPS: XML catalog documentation
> -----Original Message-----
> From: Bob Stayton [mailto:bobs@caldera.com]
> Sent: Wednesday, December 04, 2002 5:46 AM
> To: Jeanson Mauritz; docbook-apps@lists.oasis-open.org
> Subject: Re: DOCBOOK-APPS: XML catalog documentation
>
<SNIPPED>
>
> Well, I could have sworn I had the Xalan example working,
> but it doesn't. I don't think you are missing anything.
> Xalan doesn't seem to apply the catalog to URIs on the
> command line. Period. I can put the
> CatalogManager.properties verbosity setting up to 4, and I
> never see a message like:
>
> resolve(http://docbook.sourceforge.net/...).
>
> The first resolve attempt is for:
>
> resolve(../VERSION)
>
> which is the first reference in docbook.xsl to another
> file. So it never even tries to look up the argument
> to the -XSL option from the command line.
>
> But if I put the stylesheet reference in the file
> like this:
>
> <?xml version="1.0" encoding="utf-8"?>
> <?xml-stylesheet type="text/xml"
>
> href="http://docbook.sourceforge.net/release/xsl/current/html/
> docbook.xsl"?>
>
> Then the catalog is consulted and it works to find the
> local file.
Adding the stylesheet PI (with type="text/xsl") in the
XML file makes no difference at all for me, I'm sad to say.
With the PI and using the same command line as before, I still don't
get any "resolveURI(http://docbook.sourceforge.net/...)" messages.
I have tried Xalan 2.4.0 and 2.4.1.
/Mauritz