[jdom-interest] Need small footprint jdom distro

Jason Hunter jhunter at acm.org
Sun Nov 26 15:44:36 PST 2000


Frank Wierzbicki wrote:
> 
> I want to use JDOM in a project that needs to minimize
> the size of the distribution.  JDOM depends on Xerces
> by default, but the Xerces jar is close to 1.5 Meg.
> Can anyone tell me what I can use in place of Xerces
> that takes up the least amount of space but is still
> reliable?  Or, has anyone stripped out the parts of
> Xerces on which JDOM does not depend?

JDOM does not depend on Xerces in any way, shape, or form.  It simply
depends on having *some* XML parser around.  We ship Xerces by default
and use it by default because it has a nice license.  But if you look to
the SAXBuilder constructor signatures you'll see you can pass in any SAX
parser class of your choice.  Same goes for DOM, and we don't even need
JAXP since we use a simpler adapter model that doesn't limit your parser
choices like JAXP does.

-jh-



More information about the jdom-interest mailing list