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 08:52:34 +0100
Message-ID: <4D3546C2.9040606@gmx.de>
To: John Cowan <cowan@mercury.ccil.org>
CC: public-html-xml@w3.org
On 18.01.2011 00:16, John Cowan wrote:
> Julian Reschke scripsit:
>
>> 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.
>
> Sure, I never meant otherwise.  Similarly, application/xml is data,
> application/xslt+xml is code.  "Media type" means the whole thing: type,
> subtype, and parameters: see RFC 4288.

Ah.

So how do you deal with unknown types?

Best regards, Julian
Received on Tuesday, 18 January 2011 07:53:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 18 January 2011 07:53:43 GMT