Re: Re: [xml-dev] Re: SAX 2.0.2--progress stalled?

"Karl Waclawek" <[email protected]> Tue, 20 Apr 2004 23:54:47 -0400
Newsgroups gmane.text.xml.sax.devel
Message-ID <001601c42754$63da6610$0200a8c0@karlglen188>
> I think it was decided that the issue with endDocument just be flagged for 
> now and dealt with in a future release. The text: "There is an apparent 
> contradiction between the documentation for this method and the 
> documentation for ContentHandler.endDocument(). Until this ambiguity is 
> resolved in a future major release, clients should make no assumptions 
> about whether endDocument() will or will not be invoked when the parser 
> has reported a fatalError() or thrown an exception." was added to the docs 
> for ErrorHandler in CVS. Similar text was added to the description of 
> ContentHandler.endDocument().

That would fine with me - for now.
My comment was mostly intended to be rhetorical, trying to get things going.
Apparently with success. ;-)

Although I do have an opinion:
- When startDocument() was called, then endDocument() must be called,
  unless the parser (or a call-back) throws an exception before parsing
  is finished.

Karl



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
List: sax-devel, [email protected]
See:  http://www.saxproject.org/
https://lists.sourceforge.net/lists/listinfo/sax-devel