W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2011

html5/spec Overview.html,1.4977,1.4978

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 10 Jun 2011 22:43:21 +0000
To: public-html-commits@w3.org
Message-Id: <E1QVAQD-0002We-R3@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv9694

Modified Files:
	Overview.html 
Log Message:
Define some types that are never going to be scripting types and are therefore always going to be 'safe' to use as data format types in <script> (even though in practice authors really should be using more specific types). (whatwg r6212)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4977
retrieving revision 1.4978
diff -u -d -r1.4977 -r1.4978
--- Overview.html	10 Jun 2011 20:38:08 -0000	1.4977
+++ Overview.html	10 Jun 2011 22:43:17 -0000	1.4978
@@ -13766,6 +13766,23 @@
   <p>User agents may support other <a href="#mime-type" title="MIME type">MIME
   types</a> and other languages.</p>
 
+  <p>The following <a href="#mime-type" title="MIME type">MIME types</a> must not
+  be interpreted as scripting languages:</p>
+
+  <ul class="brief"><li>"<code>text/plain</code>"
+   <li>"<code>text/xml</code>"
+   
+   <li>"<code>application/octet-stream</code>"
+   <li>"<code>application/xml</code>"
+   
+   
+
+   
+  </ul><p class="note">These types are explicitly listed here because they
+  are poorly-defined types that are nonetheless likely to be used as
+  formats for data blocks, and it would be problematic if they were
+  suddenly to be interpreted as script by a user agent.</p>
+
   
   <p>When examining types to determine if they support the language,
   user agents must not ignore unknown MIME parameters &mdash; types
Received on Friday, 10 June 2011 22:43:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 10 June 2011 22:43:25 GMT