W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] EOF handling in the main phase

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 4 Jan 2007 01:35:47 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0701040135240.4611@dhalsim.dreamhost.com>
On Thu, 4 Jan 2007, Anne van Kesteren wrote:
> On Thu, 04 Jan 2007 02:27:33 +0100, Ian Hickson <ian at hixie.ch> wrote:
> > On Thu, 4 Jan 2007, Anne van Kesteren wrote:
> > > On Thu, 04 Jan 2007 02:14:37 +0100, Ian Hickson <ian at hixie.ch> wrote:
> > > > How doesn't it introduce a condition? It's one big "if". In fact, it's
> > > > two of them.
> > > 
> > > To me it's ambiguous whether this "big 'if'" also applies to the
> > > "innerHTML case" or not.
> > 
> > Why is it ambiguous? The first if doesn't even mention innerHTML. I don't
> > really understand why it wouldn't apply.
> 
> So why mention "Otherwise" in that case? Say the stack is ("html", "y") 
> and we're in innerHTML mode. The second node in the stack is not "body" 
> so it's a parse error per the first paragraph. And then other parse 
> error per the second paragraph. It seems to me you only want a single 
> parse error.

Yes, we only want a single parse error. That's exactly it.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 3 January 2007 17:35:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC