• Post Reply Bookmark Topic Watch Topic
  • New Topic

SAX problem  RSS feed

 
Evelyn Bhunia
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

I have put sax.jar in classpath.
My code has following lines
parser = ParserFactory.makeParser("org.xml.sax.Parser");
parser.setDocumentHandler( handler );
parser.parse( is );
I get exception "java.lang.InstantiationException:
org.xml.sax.Parser" as thrown in makeParser() implementation.

What else do I need to do to get rid of this problem?

Any help is welcome.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!