Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot call parser.parse cause of class extends HandlerBase.....

Status
Not open for further replies.

Goku81

Programmer
Mar 27, 2001
34
US
Wasn't sure how to better phrase the question

Here is my dilemma. I am tryin to call

javax.xml.parsers.SAXParser.parse(InputSource, DisplayRequestDocHandler)

class DisplayRequestDocHandler extends HandlerBase. HandlerBase is normally accepted where DisplayRequestDocHandler is...... how do I get it so that I can call parser.parse with the extended DisplayRequestDocHandler class? Is it possible?
 
I don't see any problem in your issue. You should be able to invoke parse() with extended class. I can't guess anything without looking at the code snippet.
 
I found the problem thanks.... i was invoking old SAX1 API... I updated from DocumentHandler to DefaultHandler and changed headers and it worked fine thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top