Discussion Locked

SAX2

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm new to parsing .xml files. I've downloaded SAX2, Oracle Parser v2, and
Aelfred but can't seem to compile and/or
able to read any files in without err.
First of all, is there a proper way in
installing these parsers. I extracted
each in adirectory and set CLASSPATH to
point to each .jar file. Specifically,
when I try and declare a SAXParser saxp =
new SAXParser() object, like many samples
shown, I get a classnotfound error. Any
help in getting me started would be great!
Thanks,
Mark J

1 reply

by okujava

the only thing (if u have set classpath properly) is to check import statements in your java code.

the classpath should include the name of .jar archive.

s.okujava

This discussion is closed to new replies.