Re: W3C HTML validator is broken

On Thu, Jan 25, 2007 at 01:15:17PM +0000, Philip TAYLOR wrote:
> I seem able to replicate this :
> 
> 110 dashes OK, 

54 empty comments, followed by a comment start, followed by the text
"A comment" followed by a comment end, followed by 54 empty comments.

This should be fine.

> 120 bad

60 empty comments, followed by the text "A comment" outside of any
comment, followed by 60 empty comments.

This should throw an error.

> end must match beginning.

Changing the end comment to "-->" works fine. It doesn't need to
match.
 
http://dorward.me.uk/tmp/Comments-2.html

(Of course there is no content in the body so it errors from that).

-- 
David Dorward                                      http://dorward.me.uk

Received on Thursday, 25 January 2007 13:26:34 UTC