W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > April 1997

Re: Error handling: yes, I did mean it

From: <lee@sq.com>
Date: Mon, 28 Apr 97 20:38:14 EDT
Message-Id: <9704290038.AA01786@sqrex.sq.com>
To: w3c-sgml-wg@w3.org
On error handling in XML...

The SoftQuad SGML parser has multiple levels of strictness; at the
least strict, it can attempt to continue after certain kinds of error.

When you use the Author/Editor Validate option, strictness is (obviously)
enabled.  When you open an SGML file, it's less strict.

In the same way, I can envision an XML parser having two or more levels of
strictness:
(1) completely strict
(2) error recovery, try to soldier on wherever possible
(3) no error recovery at all, goes wrong randomly

I don't see this as a problem.  Let's stop arguing over it and
allow an XML application to take either route.

Clearly a Validating XML Parser must support option (1), including full
support for a DTD.  Otherwise, (2) is generally the most useful if you
have no control over the documents (e.g. got them over the web and just want
to read them) and (3) is easiest to write in Perl.

So allow them all.

Lee
Received on Monday, 28 April 1997 20:38:17 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:04:25 EDT