[jdom-interest] JAXP and JDOM (one more time?)

Jason Hunter jhunter at collab.net
Mon Aug 14 12:41:47 PDT 2000


> 1. Can jdom use a SAX parser from the JAXP project?

The question isn't very clear, but we can use SAX-compliant parsers.  We
don't use JAXP to determine the parser though, because we don't need it
and don't want to have dependencies on JAXP.  You could very easily
write a little logic of your own that read the system property used by
JAXP and called SAXBuilder passing the appropriate string, thereby
behaving like JAXP wants you to behave.

In JAXP 1.1 there's scheduled to be direct JDOM support.

-jh-



More information about the jdom-interest mailing list