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: XML catalog resolution problems

On Tue, Oct 22, 2002 at 02:23:00PM +0200, Jeanson Mauritz wrote:
> Hello.
> I can't get Norman Walsh's catalog resolver to work properly with 
> Saxon on Windows. I have tried to follow the instructions in Bob
> Stayton's article at http://www.sagehill.net/xml/docbookxsl/Catalogs.html. 
> Details can be found in my two posts to the Saxon-help list:
> http://www.geocrawler.com/lists/3/SourceForge/13378/0/9822868/
> http://www.geocrawler.com/lists/3/SourceForge/13378/0/9879640/
> I suppose I am doing something wrong, but I have no idea what it is.
> This is the current score:
> A. Resolution of system IDs: does not work at all.
> B. Resolution of stylesheet locations: works only if I
>  1. use Saxon's -u flag,
>  2. use <uri> instead of <system> in the catalog file,
>  3. prepend the xml file name with "file:" on the command line, and
>  4. use a system ID with full path to the DTD (or a public ID).
> C. Resolution of public IDs: this one works as expected.

Well, this might be a bug in the resolver.  Clearly your
catalog setup is working, because much of it does work.  I
got similar results on resolving "docbook.xsl" when I
tested your catalog (adjusted for my pathnames).  Oddly
enough, the messages indicate that it does resolve to the
correct uri for the stylesheet, but then it says it "does
not exist".  If I insert the URI it seems to resolve to
on the saxon command line, it works.

I then tested the catalog with xsltproc, which also supports XML
catalogs, and it worked as expected.  That's why I
think it might be a bug in the resolver.


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