Re: validator@w3.org and comments

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 UTC