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

Re: [VE][387] Error Message Feedback

From: David Dorward <david@dorward.me.uk>
Date: Mon, 10 Jan 2005 15:53:57 +0000
To: Brad M <braddm@gmail.com>
Cc: www-validator@w3.org
Message-ID: <20050110155357.GB9968@us-lot.org>

On Mon, Jan 10, 2005 at 09:42:26AM -0600, Brad M wrote:

> The errors occur between my <script type="text/javascript"></script>
> tags.
> I have added <!-- and --> inside the script tags.

You are using XHTML, therefore <script> no longer contains implicit


As a result your comment is a real comment (although you won't notice
the effect since you are serving your XHTML as HTML/tag soup instead
of as XML ...


...) your script would really be commented out. Except that you can't
use a double dash inside a comment ...


  A common error is to include a string of hyphens ("---") within a
  comment. Authors should avoid putting two or more adjacent hyphens
  inside comments.

David Dorward                                      http://dorward.me.uk
Received on Monday, 10 January 2005 15:54:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:30:47 UTC