[jdom-interest] RE:Weblogic60:swapping Jdom specific code out for JAXP

Jason Hunter jhunter at collab.net
Wed Feb 14 16:06:52 PST 2001


>      I've called the builder with the JAXP SAX parser classname
> as you suggested, I now get this mesg..
> 
> java.io.IOException: Problems occurred:SAX2 driver class
> javax.xml.parsers.SAXParserFactory loaded but cannot be instantiated (no
> empty public constructor?)

The SAX parser classname, not the JAXP SAX parser factory classname. 
Like for Xerces, you use org.apache.xerces.parsers.SAXParser.  If you
want to use JAXP, you use the no-arg SAXBuilder constructor.  The code's
available so you can look and see how it works.

-jh-



More information about the jdom-interest mailing list