[XML-SIG] Big Bug? (was:Pretty-printing DOM trees)

Jack Jansen Jack.Jansen@cwi.nl
Sun, 24 Jan 1999 21:55:26 +0100


Recently, Lars Marius Garshol <larsga@ifi.uio.no> said:
> The error is reported properly as it is and the attribute is not
> repaired, but subsequent data events are wrong. That's now fixed (data
> events, not the attribute), but the question remains whether the
> parser should follow the XML recommendation and stop reporting data
> events after a well-formedness bug.
> 
> I'm inclined to make that default behaviour, but behaviour it is
> possible to turn off. Opinions are welcome.

This sounds like the right way to go. Most applications should stop on 
non-well-formed documents, but there are definitely applications that
should be able to continue (like applications that try to repair
documents). It would be a bit silly to have to hand-craft code for
these if it could be an optional feature of the standard parser.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@cwi.nl      | ++++ if you agree copy these lines to your sig ++++
http://www.cwi.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm