[whatwg] text/html conformance checkers and comments

Ian Hickson ian at hixie.ch
Fri Feb 24 16:43:05 PST 2006


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list