Re: Some bug report on markup-validator

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 UTC