Altova Mailing List Archives

Re: [xml-dev] SAX/Java Proposed Changes

From: "Karl Waclawek" <karl@--------.--->
To: <xml-dev@-----.---.--->
Date: 3/8/2004 4:49:00 AM
----- Original Message ----- 
From: "Dennis Sosnoski" <dms@s...>
To: "Kirk Allen Evans" <kaevans@x...>
Cc: <xml-dev@l...>
Sent: Sunday, March 07, 2004 2:45 PM

> As for filters and handlers, they should always initialize their state 
> on startDocument(). That will prevent any errors due to reuse after 
> attempting to parse a bad document.

I think the problem is not initialization, but rather
"finalization) - i.e. cleanup. If a filter acquired
resources, then it would not release them until (if ever)
startDocument() is called again.



These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.