[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: SAXON:: Got error on executing it.
Thanks a lot Mr.Michael, i got it working.But the first option still gives me the same error.I manage to run SAXON using the second option. Thanks once again, Laksh. --- Michael Kay <michael.h.kay@xxxxxxxxxxxx> wrote: > > 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 > __________________________________________________ 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|