W3C home > Mailing lists > Public > www-validator@w3.org > January 2007

Re: W3C HTML validator is broken

From: David Dorward <david@dorward.me.uk>
Date: Thu, 25 Jan 2007 13:26:26 +0000
To: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Cc: bkml <atoz0to9@fastmail.fm>, www-validator@w3.org
Message-ID: <20070125132625.GC24028@us-lot.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:23 GMT