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

Ian Hickson ian at hixie.ch
Mon Dec 4 19:47:40 PST 2006


On Tue, 5 Dec 2006, Øistein E. Andersen wrote:
> 
> First, the parsing rules seem to give the token "HTML" for any string 
> [Hh][Tt][Mm][Ll].

Uh, oops. Yes, you're right. Ok, back to case-insensitive. (That does seem 
better, anyway.)


> Secondly, is this comparison supposed to be done when the tokeniser 
> leaves the DOCTYPE name state? This could probably be more explicit.

Fixed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list