startDocument

Elliotte Harold <[email protected]> Sun, 25 Apr 2004 13:43:29 -0400
Newsgroups gmane.text.xml.sax.devel
Message-ID <[email protected]>
In ContentHandler.startDocument() I propose changing "The SAX parser 
will invoke this method only once, before any other event callbacks 
(except for |setDocumentLocator| 
<cid:[email protected]>)." to "The SAX parser will 
invoke this method exactly once, before any other event callbacks 
(except for |setDocumentLocator| 
<cid:[email protected]>)." In other words, 
clarifying that it is not legal to call fatalError before calling 
startDocument. This was an unexpected problem I encountered in my recent 
SAX conformance tests.

I'd send in a patch, but I've made so many other changes that the 
patches are getting unwieldy, and covered with other previous changes. 
This is just a one-word edit though.

--
Elliotte Rusty Harold



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
List: sax-devel, [email protected]
See:  http://www.saxproject.org/
https://lists.sourceforge.net/lists/listinfo/sax-devel