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

Re: [VE][387] Error Message Feedback

From: David Dorward <david@dorward.me.uk>
Date: Mon, 10 Jan 2005 16:19:02 +0000
To: Brad M <braddm@gmail.com>
Cc: www-validator@w3.org
Message-ID: <20050110161902.GC9968@us-lot.org>

On Mon, Jan 10, 2005 at 10:10:56AM -0600, Brad M wrote:
> Just so I understand... the <![CDATA[ and ]]> need to go right after
> the opening and closing script tags respectivly?

Before the closing tag :)

But it gets rather more complex if you want to have backwards
comptability with non-XML user agents (since they don't know what all
that CDATA stuff is about and may try to treat it as JS).

Its usually better to follow the other bit of advice there and just
use external .js files for your JavaScript.

-- 
David Dorward                                      http://dorward.me.uk
Received on Monday, 10 January 2005 16:19:04 GMT

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