[jdom-interest] Using JDOM with JAXP...

Jason Hunter jhunter at collab.net
Sat Dec 2 12:18:22 PST 2000


> I started using JDOM yesterday and I must say that it is very 
> intuitive in its use.

Glad you like it.

> Yet, I have a problem trying to use JDOM with JAXP 1.0. 

With JDOM you don't need JAXP.  If you want a different parser, just
pass the parser driver class name to the SAXBuilder constructor.  (You
could leverage the JAXP properties if you wanted by passing the name
JAXP drives off, but you don't have to.)

> need(1.5M), JAXP is only about 150K. 

Only one problem.  JAXP isn't a parser.  It's a mechanism to select a
parser, but you still need a parser.  JAXP by default uses the Crimson
parser.

-jh-



More information about the jdom-interest mailing list