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 00:49:17 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0701040048300.4611@dhalsim.dreamhost.com>
On Mon, 1 Jan 2007, Anne van Kesteren wrote:
>
> I was wondering what "If there's more than one node on the stack of open 
> elements, or, if the parser was not originally created in order to 
> handle the setting of an element's innerHTML attribute (innerHTML case) 
> and the second node on the stack of open elements is not a body node, 
> this is a parse error." exactly means. I came up with two variations:
> [...]

Fixed. I think.


> After that it says "Stop parsing." but it isn't defined how the 
> remaining tokens are to be popped of from the stack of open elements. 
> Shouldn't that be covered?

Doesn't matter how they are popped from the stack. You could just throw 
the stack away and be done. Once you stop parsing, the stack is never 
again used, and never affects the document.

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

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