[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [saxon] catalogs

Subject: Re: [saxon] catalogs
From: Bob Stayton <bobs@xxxxxxxxxxx>
Date: Fri, 3 Jan 2003 10:31:45 -0800
saxon651.jar
> From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
> 
> >>I set everything up so that the resolver runs and finds the catalog, but 
> >>it doesn't find some DTD modules:
> >>
> Some questions:
> 
> Why is there saxon65.jar *and* saxon651.jar in the batch file?

This is getting a bit off topic since XML catalogs
are not an XSL topic.
Check the paths in the example.  The saxon65.jar file 
contains DocBook XSL extension functions, while saxon651.jar
is the Saxon XSLT processor.  

> (Also: On WinME, I had to join all lines, include the drive at the start 
> of the paths, and separate them with semicolons. I'm not sure which of 
> those steps was necessary, but it works now.)

Yes, semicolons in the CLASSPATH are required on Windows.
 
> How do you deal with the problem I described above?
> (More details in the other posts.)

To ensure all the DTD modules are looked up properly,
add something like this to your catalog (you will need
to fix the path):

   <!-- Resolve DTD PUBLIC identifiers -->
    <nextCatalog  catalog="docbook42/catalog.xml" />

This lets the catalog file that ships with the DocBook
DTD handle the other DTD modules.

> How can I get this to work offline?

Something like this replaces the URL prefix with
a local filename prefix for all the files under it:

 <group  xml:base="/usr/share/xml/" >

    <!-- Resolve DTD URL system ID to local file -->
    <rewriteSystem
        systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2/"
        rewritePrefix="docbook42/" />
    <!-- Resolve stylesheet URL to local file -->
    <rewriteURI
        uriStartString="http://docbook.sourceforge.net/release/xsl/current/"
        rewritePrefix="docbook-xsl-1.56.1/" />

 </group>

If you are using an "http://..." URL on the command
line, then add the -u option to Saxon so it treats it
as a URL.

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@xxxxxxx

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • RE: [saxon] catalogs, (continued)
    • DPawson - Fri, 3 Jan 2003 08:03:28 -0500 (EST)
    • DPawson - Fri, 3 Jan 2003 08:37:25 -0500 (EST)
    • Bob Stayton - Fri, 3 Jan 2003 13:29:06 -0500 (EST) <=
    • DPawson - Mon, 6 Jan 2003 03:35:49 -0500 (EST)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.