W3C home > Mailing lists > Public > www-validator@w3.org > May 2006

Re: [VE][388] Error Message Feedback

From: Michael Adams <linux_mike@paradise.net.nz>
Date: Sat, 13 May 2006 21:19:43 +1200
To: www-validator@w3.org
Message-id: <20060513211943.71daa49c.linux_mike@paradise.net.nz>

On Fri, 12 May 2006 23:40:58 +0300 (EEST)
"Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote:

> 
> On Fri, 12 May 2006, Jan Christian Anker wrote:
> 
> > The following line in my HTML-coding results in a bunch of
> > WARNING messages (i.e. no error, but annoyance)
> > <!-- ----------------- Text etc goes here ----------------- -->
> > The following line validates just fine:
> > <!-- _________________ Text etc goes here _________________ -->
> 
> So what's the problem? Why don't you use the latter?
> 
> The validator warns about the former, since there is a high risk of
> using a wrong number of hyphens and getting wrong results on browsers
> and other software that process comments correctly.
> 
> (On the other hand, why don't you just remove the comment? If your
> HTML markup "needs" a comment, the odds are that it is too artificial
> and should be restructured. Comments considered harmful.)
> 

Ok, Jukka, I'll bite. Why are comments considered harmful? (I Googled
and couldn't find any relevant hits.)

-- 
Michael
 Those that can, do; those that can't, teach.
Received on Saturday, 13 May 2006 09:18:58 GMT

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