W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2008

[Bug 6125] HTML validator fails for "--" within comment blocks

From: <bugzilla@wiggum.w3.org>
Date: Mon, 29 Sep 2008 21:02:20 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1KkPsq-00007t-6r@wiggum.w3.org>


--- Comment #2 from Frank <vicn12@hotmail.com>  2008-09-29 21:02:19 ---
It is fine that comments start with "<!--" and end with "-->". I wonder why
there is a restriction for not having "-" or "--" inside the comment block.

Is there any technical reason? If the parser sees "<!--", the next thing to
look for is probably "-->", I wonder why "--" in between is checked?

The major browsers have no problem to parse such html files, so it is almost
impossible for webmaster to catch such error, unless our browsers show errors
so webmaster would find the problem right away, otherwise, this should be

And I don't think it is difficult to fix?

Any comments?


Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 29 September 2008 21:02:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:30 UTC