[jdom-interest] Differences between SAXBuilder.build and DOMBuilder.build

Brett McLaughlin brett at newInstance.com
Wed Jul 25 12:05:09 PDT 2001

> Why is that DOMBuilder does not have methods for building documents from
> Readers like SAXBuilder has?

Because DOMBuilder is MUCH slower than SAXBuilder, and it should really only
be used if you are converting from DOM to JDOM. In every other case
(readers, files, etc), going SAX is faster.

Brett McLaughlin
Enhydra Strategist:   http://www.enhydra.org
Lutris Technologies: http://www.lutris.com
O'Reilly Author:       http://www.newInstance.com

More information about the jdom-interest mailing list