Re: Reusing Xerces parsers after Exception

2010-10-03 Thread Michael Glavassevich
Hi Philip, Yes, it's safe to reuse instances of Xerces parsers after they've thrown an exception. When you call the parse method they reset their internal state before starting to process the document. Thanks. On Thu, 30 Sep 2010, philip.ari...@emc.com wrote: Hi,   When implementing a Xe

Reusing Xerces parsers after Exception

2010-09-29 Thread philip.arickx
Hi, When implementing a Xerces parser pool, I'm faced with the following question : if a parser has thrown an exception during parsing, is it safe to reuse the parser afterwards, i.e. add it back to the pool ? Does anybody have any experience with this ? Thanx ! Philip