[jdom-interest] Xerces.jar too big [crimson]

Noam Tamim noamt at yahoo.com
Sat Jun 30 03:48:42 PDT 2001


> > Can you show an example of HOW to use the Crimson parser with the
SAXBuilder?
> Just set your classpath to include crimson.jar and jaxp.jar but not
> xerces.jar.  Run your code and JDOM uses JAXP to locate the parser and
> JAXP prefers Crimson.  This is the setup mentioned in the lib/README for
> using Crimson.

Is it possible to use Crimson even when I have xerces.jar in my classpath?
What class name should I pass to SAXBuilder's constructor?

By the way, there is a package called parser.jar, that comes with the
Jakarta-Ant distribution. It contains the com.sun.xml.* packages.  Is that
an XML parser? Can it be used to build JDOM documents?

 - Noam.







More information about the jdom-interest mailing list