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

[whatwg] text/html conformance checkers and comments

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 25 Feb 2006 00:43:05 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0602250041210.315@dhalsim.dreamhost.com>
On Tue, 26 Jul 2005, Lachlan Hunt wrote:
>
> But you missed two other valid variants that I can think of:
> 
> <!>

Empty bogus comment "", parse error.


> <!-- -- >

Unterminated comment " -- >". Two parse errors.


> As useless as the first one may be, it seems to be supported with no 
> ill-effect by Deer Park Alpha 2, Opera 8 and IE6, so I see no reason to 
> call it invalid.

I don't really see any reason to call it valid either. :-)


> And these invalid variants:
> <! -- -->

Bogus comment " -- --". Parse error.


> <!-- foo -- bar -->

Comment " foo -- bar ". Parse error.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 24 February 2006 16:43:05 UTC

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