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

Re: The interpretation of script

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 18 Jan 2011 00:11:44 +0100
Message-ID: <4D34CCB0.3090000@gmx.de>
To: Michael Champion <Michael.Champion@microsoft.com>
CC: John Cowan <cowan@mercury.ccil.org>, Norman Walsh <ndw@nwalsh.com>, "public-html-xml@w3.org" <public-html-xml@w3.org>
On 18.01.2011 00:01, Michael Champion wrote:
> Also sprach John Cowan:
>
>>   if you want something to be data, use a media type that implies it is data;
>> if you want something to be code, use a media type that implies that.
>
> Hmm,  is XSLT "code" or "data"?

Furthermore, how does this class of media type help here.

text/javascript is "code". application/json is not. I don't think we can 
depend on the type name (as opposed to type/subtype) alone.

Best regards, Julian
Received on Monday, 17 January 2011 23:12:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 January 2011 23:12:42 GMT