File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Xerces Problem" Watch "Xerces Problem" New topic

Xerces Problem

I Ritchie

Joined: Sep 14, 2003
Posts: 7
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(
at ParserTest.main(
Exception in thread "main"
I agree. Here's the link:
subject: Xerces Problem
It's not a secret anymore!