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

Re: JavaScript validation issues

From: David Dorward <david@dorward.me.uk>
Date: Thu, 9 Dec 2004 16:07:15 +0000
To: "B.K. DeLong" <bkdelong@pobox.com>
Cc: www-validator@w3.org
Message-ID: <20041209160715.GA28195@us-lot.org>

On Thu, Dec 09, 2004 at 10:06:19AM -0500, B.K. DeLong wrote:
> I've been wrestling with a JavaScript error from the validator for a few 
> days for the following code. I've tried escaping the JavaScript with 
> backslashes and commenting but that still doesn't stop the validator from 
> assuming it's HTML:

URLs are much better at helping people debug code then small
snippits. Given the lack of context, I can only guess.

Are you using XHTML? If so you've forgotten:
http://w3.org/TR/xhtml1/#h-4.8

-- 
David Dorward                                      http://dorward.me.uk
Received on Thursday, 9 December 2004 16:07:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:48 UTC