[whatwg] The parsing section doesn't require "HTML" in uppercase (doctype)
Simon Pieters
zcorpan at hotmail.com
Mon Dec 4 17:31:03 PST 2006
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/
More information about the whatwg
mailing list