This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: SAXON:: Got error on executing it.
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 21 Feb 2002 10:55:12 -0500
- Subject: Re: [xsl] SAXON:: Got error on executing it.
- References: <20020221081407.9627.qmail@web21310.mail.yahoo.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Mike Kay has given you an answer, but here's something even simpler. It
looks like you are running on a Windows machine, judging from the path you
gave. So you could get InstantSaxon, which packages Saxon into Windows
executable. That way you don't have to fuss with any classpath at all.
Cheers,
Tom P
[laksh vr]
> I'm using jdk1.3.1 , I have problems in running the
> SAXON parser from the command line.
> when i execute the following line:
> ******
> java com.icl.saxon.StyleSheet src1.xml xsl1.xsl
> ******
> i get the following error:
> Exception in thread "main"
> java.lang.NOClassDefFoundError:com.icl.saxon.StyleSheet
>
>
> I tried the other option,
> ******
> java -jar dir/saxon.jar src1.xml xsl1.xsl
> ******
> i got another error:
> Exception in thread "main"
> java.util.zip.ZipExceptin:The system cannot find the
> path specified
> at java.util.zip.ZipFile.open(native method)
> at java.util.zip.ZipFile.<init>(unknown
> source)
> at java.util.jar.JarFile.<init>(unknown
> source)
> at java.util.jar.JarFile.<init>(unknown
> source)
>
> **********
> I have downloaded the SAXON parser in d:\sax and
> unzipped the zip file in the same folder.I executed
> the above commands from the d:\sax directory.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list