[jdom-interest] Bug: SAXBuilder locks last parsed document in memory

Joe Bowbeer joe.bowbeer at gmail.com
Wed Nov 23 09:26:23 PST 2005

On 11/21/05, Laurent Bihanic <laurent.bihanic at atosorigin.com> wrote:
> Attached is a patch proposal to add a method clear() to SAXHandler to reset
> all references it holds after the parse is complete.
> Note: SAXBuilder can't reset the parser's ContentHandler, as setting the
> ContentHandler to null is not allowed by SAX.

Is there any downside to having the SAXBuilder release its resources?
Could they provide useful caching if they weren't cleared?  (Or will
they be cleared anyway, the next time SAXBuilder is reused?)

More information about the jdom-interest mailing list