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

Re: idea

From: David Dorward <david@dorward.me.uk>
Date: Sun, 10 Jul 2005 12:28:41 +0100
To: WillPower <zorgian@gmail.com>
Cc: www-validator@w3.org
Message-ID: <20050710112841.GA7412@us-lot.org>

On Fri, Jul 08, 2005 at 06:24:05PM +0100, WillPower wrote:

> the validator is brilliant except for html code that is produced by
> javascript.
> 
> perhaps the validator could ignore script in <javascript></javascript>

Assuming you mean <script>, it shouldn't. An error is an error even if
browsers can compensate for it.

http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.2.1

> or maybe you could recommend that the javascript is made into a .js
> file and embedded in the html code.

The XHTML 1.0 spec does make that recommendation.

-- 
David Dorward                                      http://dorward.me.uk
Received on Sunday, 10 July 2005 11:28:48 GMT

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