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 12:43:04 +0000
To: bkml <atoz0to9@fastmail.fm>
Cc: www-validator@w3.org
Message-ID: <20070125124304.GB24028@us-lot.org>

On Thu, Jan 25, 2007 at 06:55:58PM +0900, bkml wrote:

> If line 1 of the comment exceeds 110 dashes, the validator reports  
> the 111th dash as an error.

You didn't state what error you were getting, but I can't get the
validator to anything that I find unexpected. However, dealing with
dashes inside comments is a pain, I suggest taking the advice of the

    "Authors should avoid putting two or more adjacent hyphens inside

> What's weirder than that is the fact that the closing line (line 3)  
> has to have exactly the same number of dashes as the opening line or  
> else the validator reports an error in whichever line follows.

I can't reproduce this. My tests show it just has to close an opened
comment. So <!------ foo --> is valid (but <!------ foo ----> never
closes the final comment).

David Dorward                                      http://dorward.me.uk
Received on Thursday, 25 January 2007 12:43:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:50 UTC