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

Re: [VE][53] New Error Message Suggestion

From: David Dorward <david@dorward.me.uk>
Date: Mon, 24 May 2004 11:34:27 +0100
Message-Id: <EEA80DFD-AD6D-11D8-856F-000A957E4F00@dorward.me.uk>
Cc: "'www-validator@w3.org'" <www-validator@w3.org>
To: Kerr Edward <Edward.Kerr@cambridgeshire.gov.uk>


On 24 May 2004, at 09:21, Kerr Edward wrote:
>
> Line 100, column 12: invalid comment declaration: found name start 
> character
> outside comment but inside comment declaration
>
> <!-- ------ Main data table starts here ------ -->
>
> I was understand that one could put any characters in a comment.  I 
> suspect
> that you are right though, (!!) but does it warrant failing the test?

		White space is not permitted between the markup declaration open
		delimiter("<!") and the comment open delimiter ("--"), but is 
permitted
		between the comment close delimiter ("--") and the markup declaration
		close delimiter (">"). A common error is to include a string of 
hyphens
		("---") within a comment. Authors should avoid putting two or more
		adjacent hyphens inside comments.

				-- http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.4


--
David Dorward
      <http://dorward.me.uk/>
<http://blog.dorward.me.uk/>
Received on Monday, 24 May 2004 06:34:27 GMT

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