Forums Register Login

How to use xerces-j ?

+Pie Number of slices to send: Send
Hi,
I have xerces-j tools, they include xerces.jar file. I put this jar file in jre/lib/ext directory under sdk1.4. I tried to run a xml file like this:
java sax.SAXCount -v sample.xml
It did not work, it keeps giving me "NoClassDefFoundError:sax.SAXCount".
I aslo put the location og the jar file in my classpath, it did not work either.
I am wondering if sax.SAXCount program is included in xecrces.jar or not.
+Pie Number of slices to send: Send
Try -
java sax.Counter -v sample.xml
I have some reservations about the -v option.
Please let me know if it works for you.
Cheers,
Dan
+Pie Number of slices to send: Send
Thanks, Dan:
I got the same error message.
+Pie Number of slices to send: Send
I already figured it out. Just my env var problem.
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 759 times.
Similar Threads
Xerces from the command line
xerces j help!
URGENT - Grammar in XML for Schema
Are these correct steps to installing & running Xerces-2_2_1?
Problem setting Environment Variable
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 05:52:30.