W3C home > Mailing lists > Public > public-html-xml@w3.org > January 2011

Re: The interpretation of script

From: John Cowan <cowan@mercury.ccil.org>
Date: Tue, 18 Jan 2011 00:16:02 -0500
To: Liam R E Quin <liam@w3.org>
Cc: Noah Mendelsohn <nrm@arcanedomain.com>, public-html-xml@w3.org
Message-ID: <20110118051602.GA24186@mercury.ccil.org>
Liam R E Quin scripsit:

> I see, thanks. I was wondering what sense it would make to have a script
> element whose content you did not want to execute... better to use
> <not-really-script-at-all>
> or, more sensibly :-) <data>...</data>, and then it seems to me it's not
> an issue?

Because the HTML <script> element is one of the few in which you can embed
absolutely arbitrary text (other than "</script>", obviously).

But you, Wormtongue, you have done what you could for your true master.  Some
reward you have earned at least.  Yet Saruman is apt to overlook his bargains.
I should advise you to go quickly and remind him, lest he forget your faithful
service.  --Gandalf             John Cowan <cowan@ccil.org>
Received on Tuesday, 18 January 2011 05:16:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:27 UTC