W3C home > Mailing lists > Public > www-validator@w3.org > July 2003

Re: validating JavaScript

From: Nick Kew <nick@webthing.com>
Date: Fri, 4 Jul 2003 00:14:58 +0100 (BST)
To: Jake Brumby <jake.brumby@fresca.co.uk>
Cc: <www-validator@w3.org>
Message-ID: <20030704000738.R1819-100000@fenris.webthing.com>


On Thu, 3 Jul 2003, Jake Brumby wrote:

> "The HTML specification does not cover JavaScript.

No, but it does cover how Javascript can be included in HTML, which
is what your correspondent seems ignorant of.

> However, the Validator does not recognize JavaScript code from HTML and
  attempts to "validate" it as HTML.

That's correct, but doesn't mean what (s)he wants it to mean.  As a rule
it's best to separate javascript from HTML.  Failing that, you need
to read TFM.  Browse the validator help pages, and point your
correspondent at something relevant.

> The SiteWise code has been tested with all common browser versions and
> can be used without concern for its function or performance."

That's a classic warning label telling you that its author is clueless.


-- 
Nick Kew

In urgent need of paying work - see http://www.webthing.com/~nick/cv.html
Received on Thursday, 3 July 2003 19:16:55 GMT

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