[jdom-interest] Parser independent

philip.nelson at omniresources.com philip.nelson at omniresources.com
Wed May 2 11:25:43 PDT 2001

> I have extracted the xerces.jar and noticed that the
> it contains JAXP files like the package
> javax.xml.parsers.* and also most of the files in
> crimson.jar. 
> Why does xerces.jar has these files in it?

So Xerces can be your JAXP default parser.  There are good and bad points to

> And the real question iam bothered about is will any
> of the JDOM6 functionality breaks if i remove
> xerces.jar and replace it with Crimson.jar and
> JAXP.jar with i can download from sun site? 

I can't garauntee it will work identically in all cases, but that's beyond
our control.  I do know of a couple of issues, others may know of more.  For
your specific application, you should have a test plan that verifies
everything works ok.  Depending on how accurate that plan is, changing
parsers can range from easy to risky. 

More information about the jdom-interest mailing list