[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: DOCBOOK-APPS: RE: XML catalog resolution problems
> -----Original Message----- > From: Bob Stayton [mailto:bobs@caldera.com] > Sent: Monday, October 28, 2002 5:46 PM > To: Jeanson Mauritz; Norman Walsh > Cc: docbook-apps@lists.oasis-open.org > Subject: Re: DOCBOOK-APPS: RE: XML catalog resolution problems > > > On Mon, Oct 28, 2002 at 08:26:07AM +0100, Jeanson Mauritz wrote: > > > -----Original Message----- > > > From: Norman Walsh [mailto:ndw@nwalsh.com] > > > Sent: Friday, October 25, 2002 7:07 PM > > > To: Jeanson Mauritz > > > Cc: docbook-apps@lists.oasis-open.org > > > Subject: Re: XML catalog resolution problems > > > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > / Jeanson Mauritz <mauritz.jeanson@aerotechtelub.se> was > heard to say: > > > | B. Resolution of stylesheet locations: works only if I > > > | 1. use Saxon's -u flag, > > > > > > I'm offline, and I don't recall what "-u" means... > > > > > > According to the Saxon documentation: "Indicates that the > names of the > > source document and the style document are URLs; otherwise > they are taken > > as filenames, unless they start with "http:" or "file:", in > which case > > they are taken as URLs". > > > > > > > | 2. use <uri> instead of <system> in the catalog file, > > > > > > Right. Stylesheet locations *are* general URIs, they aren't system > > > identifiers. > > > > Does that mean that <system> shouldn't be used for stylesheets in a > > catalog file? > > > > In Bob Stayton's catalog tutorial, this catalog has a > <system> entry: > > > > <?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"> > > <system > > systemId="docbook.xsl" > > uri="/usr/lib/xml/docbook-xsl-1.50/html/docbook.xsl"/> > > </catalog> > > > > Is this not correct? > > In rereading the XML Catalog specification, I think my > stylesheet examples are not correct. Stylesheet references > are URIs, not system identifiers. I think I need to redo > the catalog chapter. Sorry if I created confusion. When trying xsltproc, I found that it accepts and resolves <system> entries for stylesheets in catalog files. As I take it, this is not the correct behaviour. /Mauritz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC