Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Xerces Problem  RSS feed

 
I Ritchie
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using JDK1.4.2 together with Xerces XML Parser. I just tried a simple example and it failed - I think I have read somewhere about a problem to do with JDK1.4.2 having XML parsers included with it. Does anyone have any info on this? (xerces.jar is on my classpath by the way)
XMLReader xr = XMLReaderFactory.createXMLReader();
org.xml.sax.SAXException: System property org.xml.sax.driver not specified
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:90)
at ParserTest.main(ParserTest.java:11)
Exception in thread "main"
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!