Lists Home |
Date Index |
At 12:36 PM -0800 2/23/04, Jeff Rafter wrote:
>I think a quick search through the source of XmlParser.java from AElfred2
>for "// FIXME" would produce a good list of known limitations in the parser
>as well : ) Out of curiousity does your conformance suite test for
>start/endDocuments and errors? I noticed you had reported something along
>those lines. Right now I think it is actually possible to receive an error
>followed by an endDocument in AEflred2 without ever receiving a
>startDocument call. Pretty funny... part of the problem with guaranteeing
>the endDocument event.
Yes. It's very careful to check that every document results in a
startDocument and an endDocument event, even in the face of a fatal
error. This is one of the most common mistakes that SAX parsers make.
Elliotte Rusty Harold
Effective XML (Addison-Wesley, 2003)