RE: [xsl] SAXON:: Got error on executing it.

Subject: RE: [xsl] SAXON:: Got error on executing it.
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 21 Feb 2002 09:43:10 -0000
> 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

This means that the saxon.jar file is not on your classpath.
>
>
> 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

Replace "dir" by the actual name of the directory in which saxon.jar can be
found, for example

java  -jar d:\sax\saxon.jar src1.xml xsl1.xsl

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


>         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.
> I tried 1/2 a day to fix the error,but didn't
> suceeded.
> Do anybody have any idea regarding the above errors?
> If so,please let me know it.
> I thank all the people who responded to my earlier
> mails .It really helped me a lot.
> Thanks,
> laksh.
>
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Current Thread