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

Re: Error handling in XML

From: Todd Freter <Todd.Freter@Eng.Sun.COM>
Date: Tue, 22 Apr 1997 09:24:27 -0700 (PDT)
To: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
cc: w3c-sgml-wg@w3.org
Message-ID: <Roam.SIMC.2.0.Beta.861726267.25782.toddf@jurassic>
> Todd Freter wrote:
> > Shouldn't the author, the generator of the document, have a say in whether the
> > XML application should be kind or rigorous? Maybe this is crazy, but why not
> > let the author state an intention:
> > 
> > <?XML VERSION="1.0" WF="NO"?>
> 
> I think that there is something seriously wrong if an author is giving
> this much thought to how to get their invalid document accepted rather
> than on how to just fix it. Correct documents should be our goal.
> 
>  Paul Prescod
> 

As someone who has advanced SGML documents and authoring systems against the
motivated and spirited opposition of vengeful technical writers, I support the
goal of correct documents. Believe me.

I also agree that there's something wrong with an author giving so much
thought to getting an ill formed document accepted rather than fixing it. But
an author may not have time to fix things, and publishing in HTML may not be
an option for the author.

I agree with your and others' proposals that different XML apps should not be
constrained to an all-or-nothing WFness error-handling policy. But if the
all-or-nothing view prevails in the XML specification, then perhaps a means
for the document to negotiate with the application isn't so inappropriate. I'd
prefer that the negotiation not be necessary.

-Todd.
Received on Tuesday, 22 April 1997 12:26:34 EDT

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