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

From
Karl Waclawek <>
To
Date
2004-03-08T05:04:18Z
ID
<002801c404ca$cfb86690$0207a8c0@karl>
Thread
Re: [xml-dev] SAX/Java Proposed Changes
----- Original Message ----- 
From: "Dennis Sosnoski" <>
To: "Kirk Allen Evans" <>
Cc: <>
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