W3C home > Mailing lists > Public > www-validator@w3.org > April 2005

Re: [VE][53] Error Message Feedback

From: Liam Quinn <liam@htmlhelp.com>
Date: Thu, 14 Apr 2005 21:47:51 -0400 (EDT)
To: Paran Subra <kuruparan_paran@hotmail.com>
cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.44.0504142145340.26284-100000@localhost.localdomain>

On Thu, 14 Apr 2005, Paran Subra wrote:

> i put:
>  
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <!--
> Copyright notices. Source code stealing info
> -->
> ........
>  
> but this was said,
> Line 5, column 95: invalid comment declaration: found name character
> outside comment but inside comment declaration

The HTML4 spec says:

    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

Did you put two or more adjacent hyphens inside the comment?

-- 
Liam Quinn
Received on Friday, 15 April 2005 01:47:25 GMT

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