OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]


----- Original Message ----- 
From: "Dennis Sosnoski" <dms@sosnoski.com>
To: "Kirk Allen Evans" <kaevans@xmlandasp.net>
Cc: <xml-dev@lists.xml.org>
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.

Karl




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS