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

Re: Some bug report on markup-validator

From: David Dorward <david@dorward.me.uk>
Date: Tue, 23 Jan 2007 20:26:02 +0000
To: www-validator@w3.org
Message-ID: <20070123202601.GE3148@us-lot.org>

On Tue, Jan 23, 2007 at 08:17:16PM -0000, Rui del-Negro wrote:

> While I agree that there's little or no reason these days to comment-out  
> code, I don't think it makes much sense to assume that a comment has ended  
> just because a "--i" sequence is encountered. Last time I checked, "i" is  
> not the character used to close tags.

Comments, like Doctypes, aren't tags. 

> Does this mean the "--" sequence cannot exist inside comments?

Yes.

> This seems like either a bug in the validator or a "bug" in the way the  
> comment closing tag is defined.

Take it up with the people who designed SGML (which is now over 20
years old).

-- 
David Dorward                                      http://dorward.me.uk
Received on Tuesday, 23 January 2007 20:26:06 GMT

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