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

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

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 5 Dec 2006 03:47:40 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0612050337110.16843@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 4 December 2006 19:47:40 UTC

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