W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] several messages about XML syntax and HTML5

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 8 Dec 2006 02:37:25 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0612080234570.16529@dhalsim.dreamhost.com>
On Fri, 8 Dec 2006, Sander Tekelenburg wrote:
> >
> > Your assumption seems to be that the interoperable handling of HTML 
> > documents is to somehow abort processing. This is not the case. Each 
> > error has explicitly defined error-recovery behaviour.
> 
> My mentioning of parsing abortion stems from 
> <http://www.whatwg.org/specs/web-apps/current-work/#parsing>, which 
> says:
> 
> "The error handling for parse errors is well-defined: user agents must 
> either act as described below when encountering such problems, or must 
> abort processing at the first error that they encounter for which they 
> do not wish to apply the rules described below."
> 
> Maybe I'm misinterpreting it?

Well, user agents have the choice to abort processing, that's true. But no 
Web browser would do that, they'd all follow the error recovery rules. The 
allowance for aborting is really only there to allow conformance checkers 
and data mining tools to abort processing (e.g. if they are used in 
environments where there shouldn't be any errors).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 7 December 2006 18:37:25 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:50 UTC