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

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