Code error???
Hi folks,
I'm trying to get to grips with XML parsing in Java, and I've been using the example in Ivor's book, (page 1209).
I've typed the code EXACTLY how it is in the book, yet I get this error message on the following line:
<code example>
parser.parse(file, handler);
The error I get is :The method parse(File, HandlerBase) in the type SAXParser is not applicable for the arguments (File, MySaxHandler)
I'm using Eclipse 3.2 with the latest Java SDK to develop my apps.
Source code can be e-mail upon request.
Many thanks
|