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: Trouble with Saxon/Xalan extensions


At 02:11 PM 3/19/01, Holger Rauch wrote:
>Hi!
>
>When I process a document using Version 1.34 of the XSL style sheets
>(extensions enabled) in conjunction with Saxon 6.2.1, I get the following
>error message:
>
>Error at xsl:copy-of on line 133 of
>file:/usr/local/docbook/style/xsl/1.34-custom/fo/table.xsl:
>  The URI http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Table does not
>identify an external Java class
>Transformation failed
>
>The problem is probably due to the fact that we use a proxy for HTTP
>requests. How can I specify the proxy settings from the command line? If
>that's not possible, are the classes available somewhere so that I can
>install them locally on my machine and change the URI in the style sheets?
>
>When I'm using Xalan2 instead of the above mentioned Saxon, I get this
>message:
>
>file:///usr/local/docbook/style/xsl/1.34-custom/fo/table.xsl; Line
>142; Column 69; 
>XSLT Error (javax.xml.transform.TransformerException): For extension
>function, could not find method
>org.apache.xalan.stree.DocumentFragmentImpl.adjustColumnWidths([ExpressionContext,]
>).
>
>Does anybody know in which JAR file these classes reside so that I can
>include them in my CLASSPATH?



I found that out today <hides head in shame/>
If you hunt around the most recent stylesheet sets, directory called extensions,
you will find a suite of .jar files.
Add these to your classpath (I put them in front of saxon622.jar, just in case).
then hey presto java finds them, and you don't need to go on line!

go look on the latest docbook stylesheet homepage.
All that .... stuff about relating versions to extensions/xyz 
(I used extensions/saxon61.jar) actually means something after all
(I thought it was a parameter to the stylesheet!).




HTH DaveP





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


Powered by eList eXpress LLC