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

Re: [VE][137] Error Message Feedback - validator not ignoring <script> block

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Wed, 21 Dec 2005 14:55:41 +1100
Message-ID: <43A8D23D.20105@lachy.id.au>
CC: Ben VanDenburg <bennyhur@gmail.com>, www-validator@w3.org

Bjoern Hoehrmann wrote:
> * Ben VanDenburg wrote:
>> Validating http://www.people.virginia.edu/~bv4n/sms.php
>> Error [137]: "invalid comment declaration: found character X outside
>> comment but inside comment declaration"
> 
> You have <!-- ... -- ... -->; this is not allowed in XHTML...
> In XHTML, there is no magic involved.

See this article for a very elaborate discussion of the differences 
between HTML and XHTML script elements and the use of comments.
http://lachy.id.au/log/2005/05/script-comments

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Wednesday, 21 December 2005 03:55:53 GMT

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