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

Elliotte Rusty Harold <[email protected]> Sun, 7 Mar 2004 20:00:15 -0500
Newsgroups gmane.text.xml.sax.devel,gmane.text.xml.devel
Message-ID <p06010202bc7174afc6d1@[192.168.254.4]>
At 4:13 PM -0500 3/7/04, Neil Graham wrote:

>I seem to recall you having noted that Xerces, Crimson, and Oracle all
>concurred that endDocument() was optional under severe error conditions.
>If so, what parsers exhibit the opposite behaviour?

GNU JAXP, Piccolo, and the other AElfred derivatives

>I think the main thing though is that even in this very limited survey
>we've uncovered someone for whom this would be a backward-incompatible
>change.  As regrettable as this inconsistency might be, and whatever the
>right answer is, we should surely not be introduce backward-incompatible
>behaviours in what wasn't even intended to be a minor patch release.  To my
>mind, such things should be reserved for some future SAX 2.1.

Perhaps. The current situation is untenable though. Some hard choices 
need to be made, sooner or later. As it stands, SAX is severely 
underspecified, parsers do exhibit varying behavior, and programs are 
not interoperable between parsers (and this is hardly the only area 
where that is true). The failure to produce a test suite in 
conjunction with the specification was a major error, but one I hope 
to begin rectifying soon.
-- 

   Elliotte Rusty Harold
   [email protected]
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA


-------------------------------------------------------
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