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

[whatwg] Parsing: Tokenisation - DOCTYPE State

From: Simon Pieters <zcorpan@hotmail.com>
Date: Sun, 29 Jan 2006 10:20:43 +0000
Message-ID: <BAY109-F133FBC6938C5D735F010DEB4160@phx.gbl>

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
>As far as I can tell both of these DOCTYPEs are considered conformant, but 
>shouldn't the first be an easy parse error?
>   <!DOCTYPEhtml>
>   <!DOCTYPE html>

Why? Both trigger standards mode as far as I can tell. :-)

>* Why is it marked as being error at that stage?  It doesn't seem to
>   be necessary because of the last step in the DOCTYPE name state   that 
>says: [...]

You might not get to the doctype name state. (Consider <!DOCTYPE>.)

Simon Pieters
Received on Sunday, 29 January 2006 02:20:43 UTC

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