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

[whatwg] [WebApps] "html" start tag token in main phase

From: J. King <jking@dark-phantasy.com>
Date: Fri, 08 Dec 2006 15:57:04 -0500
Message-ID: <op.tj9dtegaplbshj@briann>
The root element phase dictates that any start tag (including "html")  
produces an <html> element in the document and is then re-processed in the  
main phase.  The main phase then states that if an "html" start tag token  
is encountered it produces a parse error -unless- it's the first start tag.

Wouldn't it be simpler to just properly process the "html" start tag in  
the root element phase instead of having such a special case?  I'm  
certainly finding this special case to be needlessly difficult to deal  
with.

-- 
J. King
http://jking.dark-phantasy.com/
Received on Friday, 8 December 2006 12:57:04 UTC

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