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

Re: validator@w3.org and comments

From: David Dorward <david@dorward.me.uk>
Date: Sun, 9 Dec 2007 07:25:26 +0000
Message-Id: <6383A637-9239-4AFB-8280-C226413043CF@dorward.me.uk>
To: www-validator@w3.org


On 9 Dec 2007, at 00:55, Michael Adams wrote:
>> http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.4 explains.

> So shouldn't his:
> <!-- --------------- -->
> be also marked as invalid?

markup declaration open delimiter
open comment
space
close comment
open comment
close comment
open comment
close comment
open comment
close comment
dash
space
open comment
greater than sign

It should, and is.

#  Error  Line 11, Column 19: invalid comment declaration: found name  
character outside comment but inside comment declaration.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Received on Sunday, 9 December 2007 07:25:42 GMT

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