Re: Two changes to ErrorHandler
Elliotte Rusty Harold <[email protected]> Mon, 26 Apr 2004 15:47:14 -0400
| Newsgroups | gmane.text.xml.sax.devel |
|---|---|
| Message-ID | <p06010205bcb317554444@[192.168.254.88]> |
At 1:54 PM -0400 4/26/04, David Megginson wrote: >Elliotte Harold wrote: > >> The attached patch makes two changes to the ErrorHandler documentation: >> 1. It clarifies that namespace well-formedness errors are fatal >>errors. Crimson is not in conformanc with this, which has been a >>major problem for many users. All other parsers written in Java >>seem to implement this correctly. >> 2. It clarifies that parsers MUST NOT continue reporting events in >>the normal way following a fatal error. Previously the docs gave >>the erroneous impression that this could be done at parser option. >>However, doing so would be in direct violation of the XML >>specification. > >Thanks. I'm going to postpone applying these patches. I personally >am in full agreement with both, but they deserve more discussion >than they can get this close to a release. I can live with postponing 1, though we really shouldn't. It would only be an issue for one abandoned but common parser (Crimson). I see no reason to not apply 2 now. The XML spec is clear here. We'd just be duplicating that language in the SAX spec for developers who haven't read the XML specification more times than they've seen the Rocky Horror Picture Show. -- 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: 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