aspose file tools*
The moose likes XML and Related Technologies and the fly likes Xerces Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Xerces Problem" Watch "Xerces Problem" New topic
Author

Xerces Problem

I Ritchie
Greenhorn

Joined: Sep 14, 2003
Posts: 7
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.
 
 
subject: Xerces Problem