Hi,
first time poster; did a search for this and couldn't find the answer.
I'm working out of the
java & xml book, the chapter on sax. I typed the examples he gives as I was reading (I'm working in eclipse) and I don't think it's running correctly.
Also, the online example that he gives won't run on my machine. It compiles with this message:
then when I try to run the program I get:
It's a little bit confusing the way he has it set up; he gives code examples for all the stuff in the class that implements the ContentHandler interface, but he excludes all the import statements and anything that isn't directly related to the methods he's covering in the book. The problem is, that when he tells you to run the code for the first time; the program calls a method (init() method)that he hasn't explained, and it's significant, because it has nodes in it and calls the method gets to the ContentHandler stuff.
thanks