2007/5/1, Keith Fahlgren <[EMAIL PROTECTED]>:
On 5/1/07, Thierry Bothorel <[EMAIL PROTECTED]> wrote:
> java ~/local/lib/xxe-std-3_5_2/bin/saxon.jar linenumbering.xml
> ~/local/lib/docbook-xsl-1.72.0/xhtml/docbook.xsl use.extensions=1
> linenumbering.extension=1 >linenumbering.html
>
> I get :
>
> No numberLines function available.
> Processing terminated by xsl:message at line 283
>
> saxon extension used in CLASSPATH is :
>
> ~/local/lib/docbook-xsl-1.72.0/extensions/saxon65.jar
Hi,
Using the -jar flag causes the java command to ignore the current
CLASSPATH. What happens if you start Saxon as
java com.icl.saxon.StyleSheet ...
?
Uhm, here is the otput (never used like that) :
java com.icl.saxon.StyleSheet linenumbering.xml
~/local/lib/docbook-xsl-1.72.0/xhtml/docbook.xsl use.extensions=1
linenumbering.extension=1 >linenumbering.html
Exception in thread "main" java.lang.NoClassDefFoundError:
com/icl/saxon/StyleSheet
For the CLASSPATH issue with -jar, I already tried :
java -classpath
~/local/lib/docbook-xsl-1.72.0/extensions/saxon65.jar:~/local/lib/xxe-std-3_5_2/bin/saxon.jar:
-jar ~/local/lib/xxe-std-3_5_2/bin/saxon.jar linenumbering.xml
~/local/lib/docbook-xsl-1.72.0/xhtml/docbook.xsl use.extensions=1
linenumbering.extension=1 >linenumbering.html
with the same result
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]