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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6125





--- 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
fixed...

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

Any comments?

Thanks.


-- 
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