[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org.xml.sax.Driver not specified
- From: David Brownell <david-b@pacbell.net>
- To: Pham Thanh Quan <quanpt@sdcgrp.com>, XML Dev List <xml-dev@lists.xml.org>
- Date: Mon, 20 Aug 2001 07:47:45 -0700
> The exception was :
> org.xml.SAXException : System property org.xml.sax.driver not specified
> I don't know what do I have to put into system property ? Please help.
Probably you should just set it to the classname of a SAX2 parser.
Some examples:
gnu.xml.aelfred2.SAXDriver (small/non-validating)
gnu.xml.aelfred2.XmlReader
org.apache.crimson.XmlReader
org.xerces.parsers.SAXParser
Start your program using
java -Dorg.xml.sax.driver=gnu.xml.aelfred2.SAXDriver ...
and then you'll bootstrap using that particular parser. (However,
SAX2 parser distros should be arranging to have a default even
for folk who haven't used magic JVM invocation options.)
- Dave