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 22:06:59 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1KkQtP-0005ko-9z@wiggum.w3.org>

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





--- Comment #4 from Frank <vicn12@hotmail.com>  2008-09-29 22:06:58 ---
The specification is fine.

It says the comments end with "--" followed by ">", and there could be white
spaces in between.

Which means if there is "--" but not followed by ">", it should not be
considered as the end of the comment and the parser should continue looking for
end of comments...

In another word, from the specification, if there are non-white space
characters in between "--" and ">", it is not the end of comments and should
not be considered illegal codes.

At least the majority browsers allow the codes...

If there is no restriction on "--" followed by ">", then I could understand the
problem, but since there is already a definitive restriction that "--" must be
followed by ">" (with white spaces allowed in between), then all the arguments
above impose more restrictions not specified in the specifications...


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 22:07:34 UTC

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