--On August 23, 2005 9:40:44 AM +0300 Henri Sivonen <[EMAIL PROTECTED]> wrote:
> There's nothing in the XML spec requiring the app to throw away the data > structures it has already built when the parser reports the error. There is also nothing requiring it. It is optional. The only reqired behavior is to report the error and stop creating parsed information. Otherwise, "results are undefined" according to the spec. The spec does require that normal processing stop at the error. The parser can make data past the error available, but it "must not continue to pass character data and information about the document's logical structure to the application in the normal way". This still feels like a hack to me. An unterminated document is not well-formed, and is not XML or Atom. Doing this should require another RFC that says, "we didn't really mean that it had to be XML." wunder -- Walter Underwood Principal Software Architect, Verity