OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


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.


-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC