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: Mon, 17 Jan 2011 18:16:44 -0500
To: Julian Reschke <julian.reschke@gmx.de>
Cc: public-html-xml@w3.org
Message-ID: <20110117231644.GN2461@mercury.ccil.org>
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.

-- 
The man that wanders far                        cowan@ccil.org
from the walking tree                           http://www.ccil.org/~cowan
        --first line of a non-existent poem by:         John Cowan
Received on Monday, 17 January 2011 23:17:12 GMT

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