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

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 UTC