[jdom-interest] Underlying JDOM Parser

Jason Hunter jhunter at acm.org
Fri Feb 15 11:28:38 PST 2002


Elliotte Rusty Harold wrote:
> 
> >Good question.  You can tell JDOM which parser to use.  If you don't, it
> >tries to use JAXP, and if JAXP fails it tries Xerces.  But as far as
> >which version was found, since it depends on what's in your classpath,
> >you could be in the dark.  I don't know if parsers expose that
> >information.  On a quick look I don't see it.
> >
> 
> I think it's been suggested as a standard SAX property for future
> releases of SAX. But in the meantime asking for the name of the
> XMLReader implementation class with getClass().getName() would
> probably be enough. For DOM you could look at the package name of the
> DOM Document implementation class.

That would indicate the parser name, but not the version, right?

-jh-



More information about the jdom-interest mailing list