This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: XML catalog documentation


> -----Original Message-----
> From: Bob Stayton [mailto:bobs@caldera.com]
> Sent: Monday, November 11, 2002 6:36 PM
> To: Jeanson Mauritz; docbook-apps@lists.oasis-open.org
> Subject: Re: DOCBOOK-APPS: XML catalog documentation
> 
> 
> On Mon, Nov 11, 2002 at 11:00:05AM +0100, Jeanson Mauritz wrote:
> > > -----Original Message-----
> > > From: Bob Stayton [mailto:bobs@caldera.com]
> > > Sent: Monday, November 11, 2002 10:44 AM
> > > To: docbook-apps@lists.oasis-open.org
> > > Subject: DOCBOOK-APPS: XML catalog documentation
> > > 
> > > 
> > > I've rewritten my chapter on using XML catalogs with
> > > DocBook XSL so that it is more complete and accurate.  It
> > > is available at
> > > 
> > > http://www.sagehill.net/xml/docbookxsl/Catalogs.html
> > > 
> > > Comments welcome.
> > 
> > 
> > The command line example for Saxon does not work for me:
> > 
> > "Error
> >   Failure reading file://C:/XMLtest/catalogs/test/Saxon/kprof.xml: C
> > Transformation failed: Run-time errors were reported"
> >  
> > To get it to work, I must put "file:" in front of the XML 
> file name. 
> 
> Hmm, I'm able to resolve plain filenames on the command
> line for the stylesheet and the xml input file as long as I
> use the -u option for Saxon.  I presume you are doing
> that.


Yes, I am doing that.

 
> Can you turn on debugging by adding -Ddebug just
> after "java" to see what it is trying to resolve
> and how it is resolving it?  It will report
> 
> Resolved URI:
>        somepath
> 
> when it succeeds.


The logs from resolving the XML file name look like this.

Without "file:" in front of the XML file name:

resolveURI(kprof.xml)
resolveURI(kprof.xml)
Resolved URI: kprof.xml
	file://C:/XMLtest/catalogs/test/Saxon/kprof.xml 


With "file:" in front of the XML file name:

resolveURI(file:kprof.xml)
Resolved URI: file:kprof.xml
	file:kprof.xml


I am not sure I understand the use of -Ddebug. Did you mean 
that it should give me more information than setting verbosity=4
in CatalogManager.properties? I can't see that it does.


/Mauritz





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]