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

Re: Validating Javascript (Was: [VE][79] Error Message Feedback)

From: Olivier Thereaux <ot@w3.org>
Date: Wed, 20 Apr 2005 12:45:33 +0900
To: garyh@zootweb.com
Cc: www-validator@w3.org
Message-ID: <20050420034533.GB21798@w3.mag.keio.ac.jp>

Hi Gary.

On Tue, Apr 19, 2005, garyh@zootweb.com wrote:
> What about javascript? Your validator, which is very nice, btw, should 
> [maybe?] ignore javascript?

Why would it ignore javascript? Be it scripting, style, comments, if
it's embedded in the markup, then it has to be done by following the
rules of the markup language used... and the validator, doing its job,
has to check it too.

If you just don't want to be bothered: use external scripts. Especially
if you're using XHTML, that will save you a lot of hassle. More info:
http://www.htmlhelp.com/tools/validator/problems.html#script

Thanks,
-- 
olivier - W3C / QA / Tools
         -----            
Help improve the validator:
http://lists.w3.org/Archives/Public/www-validator/2005Apr/0031.html
Received on Wednesday, 20 April 2005 03:45:32 GMT

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