[whatwg] The parsing section doesn't require "HTML" in uppercase (doctype)

Hi,

Revision 410:
>parser section says 'HTML' must be uppercase. We can discuss
>if that should change (mail the list), but the syntax section
>needs to be consistent, at least.

Where does it say that? What I find is this (in the DOCTYPE name state):

   U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z
       Append the uppercase version of the current input
       character (subtract 0x0020 from the character's code
       point) to the current DOCTYPE token's name. Stay in
       the DOCTYPE name state.

...which means that <!doctype html> will result in a doctype with the name 
"HTML". It is not a parse error. So, AFAICT, the parsing section doesn't 
require uppercase "HTML" (and it shouldn't, IMHO).

Regards,
Simon Pieters

_________________________________________________________________
Eragon - bio?ventyret kan b?rja! http://www.msn.se/noje/eragon/

Received on Monday, 4 December 2006 17:31:03 UTC