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:08:51 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0602250007190.315@dhalsim.dreamhost.com>
On Sat, 23 Jul 2005, Henri Sivonen wrote:
>
> What kinds of comments should a text/html HTML5 conformance checker allow?
> 
> <!-->

Unterminated comment ">". Parse error.

> <!---->

Empty comment "".

> <!-- -->

Comment " ".

> <!-- foo -->

Comment " foo ".

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

Comment " foo ---- bar ". 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:08:51 UTC

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