[html5] r4554 - [e] (0) Correct terminology regarding MIME types. Fixing http://www.w3.org/Bugs/ [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Jan 9 23:18:36 PST 2010


Author: ianh
Date: 2010-01-09 23:18:34 -0800 (Sat, 09 Jan 2010)
New Revision: 4554

Modified:
   complete.html
   index
   source
Log:
[e] (0) Correct terminology regarding MIME types.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8461

Modified: complete.html
===================================================================
--- complete.html	2010-01-09 08:52:24 UTC (rev 4553)
+++ complete.html	2010-01-10 07:18:34 UTC (rev 4554)
@@ -110,7 +110,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Draft Standard — 9 January 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 10 January 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -1897,10 +1897,17 @@
   to refer to the type of media intended for presentation, as used by
   the CSS specifications. <a href=#refsRFC2046>[RFC2046]</a> <a href=#refsMQ>[MQ]</a></p>
 
-  <p>A string is a <dfn id=valid-mime-type>valid MIME type</dfn> if it matches the <code title="">media-type</code> rule defined in section 3.7 "Media
-  Types" of RFC 2616. <a href=#refsHTTP>[HTTP]</a></p>
+  <p>A string is a <dfn id=valid-mime-type>valid MIME type</dfn> if it matches the <code title="">media-type</code> rule defined in section 3.7 "Media Types"
+  of RFC 2616. In particular, a <a href=#valid-mime-type>valid MIME type</a> may
+  include MIME type parameters. <a href=#refsHTTP>[HTTP]</a></p>
 
+  <p>A string is a <dfn id=valid-mime-type-with-no-parameters>valid MIME type with no parameters</dfn> if it
+  matches the <code title="">media-type</code> rule defined in section
+  3.7 "Media Types" of RFC 2616, but does not contain any U+003B
+  SEMICOLON characters (;). In other words, if it consists only of a
+  type and subtype, with no MIME Type parameters. <a href=#refsHTTP>[HTTP]</a></p>
 
+
   <h4 id=xml><span class=secno>2.1.2 </span>XML</h4>
 
   <p id=html-namespace>To ease migration from HTML to XHTML, UAs
@@ -10864,8 +10871,8 @@
 
   <p>The <dfn id=attr-link-type title=attr-link-type><code>type</code></dfn> attribute
   gives the <a href=#mime-type>MIME type</a> of the linked resource. It is
-  purely advisory.  The value must be a <a href=#valid-mime-type>valid MIME type</a>,
-  optionally with parameters.</p>
+  purely advisory.  The value must be a <a href=#valid-mime-type>valid MIME
+  type</a>.</p>
 
   <p>For <a href=#external-resource-link title="external resource link">external resource
   links</a>, the <code title=attr-link-type><a href=#attr-link-type>type</a></code> attribute
@@ -11884,10 +11891,9 @@
   model</a>. The element does not <a href=#represents title=represents>represent</a> content for the user.</p>
 
   <p>If the <dfn id=attr-style-type title=attr-style-type><code>type</code></dfn>
-  attribute is given, it must contain a <a href=#valid-mime-type>valid MIME type</a>,
-  optionally with parameters, that designates a styling language. If
-  the attribute is absent, the type defaults to
-  <code>text/css</code>. <a href=#refsRFC2318>[RFC2318]</a></p>
+  attribute is given, it must contain a <a href=#valid-mime-type>valid MIME type</a>
+  that designates a styling language. If the attribute is absent, the
+  type defaults to <code>text/css</code>. <a href=#refsRFC2318>[RFC2318]</a></p>
 
   <div class=impl>
 
@@ -12264,8 +12270,9 @@
   <p>The <dfn id=attr-script-type title=attr-script-type><code>type</code></dfn>
   attribute gives the language of the script or format of the data. If
   the attribute is present, its value must be a <a href=#valid-mime-type>valid MIME
-  type</a>, optionally with parameters. The <code title="">charset</code> parameter must not be specified. (The
-  default, which is used if the attribute is absent, is "<code title="">text/javascript</code>".)</p>
+  type</a>. The <code title="">charset</code> parameter must not be
+  specified. (The default, which is used if the attribute is absent,
+  is "<code title="">text/javascript</code>".)</p>
 
   <p>The <dfn id=attr-script-src title=attr-script-src><code>src</code></dfn>
   attribute, if specified, gives the address of the external script
@@ -20015,12 +20022,14 @@
   present, must contain a <a href=#valid-url>valid URL</a>.</p>
 
   <p>The <dfn id=attr-embed-type title=attr-embed-type><code>type</code></dfn>
-  attribute, if present, gives the <a href=#mime-type>MIME type</a> of the plugin to
-  instantiate. The value must be a <a href=#valid-mime-type>valid MIME type</a>,
-  optionally with parameters. If both the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute and the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute are present, then the
-  <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute must specify the
-  same type as the <a href=#content-type title=Content-Type>explicit Content-Type
-  metadata</a> of the resource given by the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute.</p>
+  attribute, if present, gives the <a href=#mime-type>MIME type</a> of the
+  plugin to instantiate. The value must be a <a href=#valid-mime-type>valid MIME
+  type</a>. If both the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code>
+  attribute and the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute
+  are present, then the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code>
+  attribute must specify the same type as the <a href=#content-type title=Content-Type>explicit Content-Type metadata</a> of the
+  resource given by the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code>
+  attribute.</p>
 
   <div class=impl>
 
@@ -20291,8 +20300,7 @@
 
   <p>The <dfn id=attr-object-type title=attr-object-type><code>type</code></dfn>
   attribute, if present, specifies the type of the resource. If
-  present, the attribute must be a <a href=#valid-mime-type>valid MIME type</a>,
-  optionally with parameters.</p>
+  present, the attribute must be a <a href=#valid-mime-type>valid MIME type</a>.</p>
 
   <p>At least one of either the <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute or the <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute must be present.</p>
 
@@ -22204,10 +22212,11 @@
      fetch the resource</dt>
 
      <dt>If the <a href=#media-resource>media resource</a> is found to have <a href=#content-type title=Content-Type>Content-Type metadata</a> that, when
-     parsed as a <a href=#mime-type>MIME type</a> (including any codecs described by the
-     <code title="">codecs</code> parameter), represents <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type
-     that the user agent knows it cannot render</a> (even if the
-     actual <a href=#media-data>media data</a> is in a supported format)</dt>
+     parsed as a <a href=#mime-type>MIME type</a> (including any codecs
+     described by the <code title="">codecs</code> parameter),
+     represents <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type that the user agent knows it cannot
+     render</a> (even if the actual <a href=#media-data>media data</a> is in a
+     supported format)</dt>
 
      <dt>If the <a href=#media-data>media data</a> can be fetched but is found by
      inspection to be in an unsupported format, or can otherwise not
@@ -34597,7 +34606,7 @@
 
    <dd>Indicates that image files are accepted.</dd>
 
-   <dt>A <a href=#valid-mime-type>valid MIME type</a>, with no parameters</dt>
+   <dt>A <a href=#valid-mime-type-with-no-parameters>valid MIME type with no parameters</a></dt>
 
    <dd>Indicates that files of the specified type are accepted.</dd>
 
@@ -52763,8 +52772,8 @@
   such a link, he is given the opportunity to use that Web
   site. Analogously, the <dfn id=dom-navigator-registercontenthandler title=dom-navigator-registerContentHandler><code>registerContentHandler()</code></dfn>
   method allows Web sites to register themselves as possible handlers
-  for content in a particular <a href=#mime-type>MIME type</a>. For example, the same online
-  fax service could register itself as a handler for
+  for content in a particular <a href=#mime-type>MIME type</a>. For example, the
+  same online fax service could register itself as a handler for
   <code>image/g3fax</code> files (<a href=#refsRFC1494>[RFC1494]</a>), so that if the user has no
   native application capable of handling G3 Facsimile byte streams,
   his Web browser can instead suggest he use that site to view the
@@ -52844,9 +52853,9 @@
     whitespace, or include MIME parameters, then the handler being
     registered will never be used.</p>
 
-    <p class=note>The type is compared to the <a href=#mime-type>MIME type</a> used by the
-    user agent <em>after</em> the sniffing algorithms have been
-    applied.</p>
+    <p class=note>The type is compared to the <a href=#mime-type>MIME type</a>
+    used by the user agent <em>after</em> the sniffing algorithms have
+    been applied.</p>
 
    </dd>
 
@@ -52889,8 +52898,9 @@
      <pre><a href="chickenkïwi.soup">Download our Chicken Kïwi soup!</a></pre>
 
      <p>...then, assuming this <code>chickenkïwi.soup</code> file
-     was served with the <a href=#mime-type>MIME type</a> <code>application/x-soup</code>,
-     the UA might navigate to the following URL:</p>
+     was served with the <a href=#mime-type>MIME type</a>
+     <code>application/x-soup</code>, the UA might navigate to the
+     following URL:</p>
 
      <pre>http://example.com/soup?url=http://www.example.net/chickenk%C3%AFwi.soup</pre>
 
@@ -56981,12 +56991,13 @@
   resource.</span></p>
 
   <p>The <dfn id=attr-hyperlink-type title=attr-hyperlink-type><code>type</code></dfn>
-  attribute, if present, gives the <a href=#mime-type>MIME type</a> of the linked
-  resource. It is purely advisory. The value must be a <a href=#valid-mime-type>valid
-  MIME type</a>, optionally with parameters. <span class=impl>User agents must not consider the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attribute authoritative
-  — upon fetching the resource, user agents must not use
-  metadata included in the link to the resource to determine its
-  type.</span></p>
+  attribute, if present, gives the <a href=#mime-type>MIME type</a> of the
+  linked resource. It is purely advisory. The value must be a
+  <a href=#valid-mime-type>valid MIME type</a>. <span class=impl>User agents must
+  not consider the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code>
+  attribute authoritative — upon fetching the resource, user
+  agents must not use metadata included in the link to the resource to
+  determine its type.</span></p>
 
 
   <div class=impl>
@@ -65076,8 +65087,9 @@
   must cause the user agent to <a href=#fail-the-connection>fail the connection</a>.</p>
 
   <p>HTTP 204 No Content, and 205 Reset Content responses are
-  equivalent to 200 OK responses with the right <a href=#mime-type>MIME type</a> but no
-  content, and thus must <a href=#reestablish-the-connection>reestablish the connection</a>.</p>
+  equivalent to 200 OK responses with the right <a href=#mime-type>MIME type</a>
+  but no content, and thus must <a href=#reestablish-the-connection>reestablish the
+  connection</a>.</p>
 
   <p>Other HTTP response codes in the 2xx range <!--201 Created, 202
   Accepted, 203 Non-Authoritative Information, and 206 Partial
@@ -84915,7 +84927,7 @@
    <tbody><tr><th> <code title="">accept</code>
      <td> <code title=attr-input-accept><a href=#attr-input-accept>input</a></code>
      <td> Hint for expected file type in <a href=#file-upload-state title=attr-input-type-file>file upload controls</a>
-     <td> <a href=#set-of-comma-separated-tokens>Set of comma-separated tokens</a>* consisting of <a href=#valid-mime-type title="valid MIME type">valid MIME types</a> or <code title="">audio/*</code>, <code title="">video/*</code>, or <code title="">image/*</code>
+     <td> <a href=#set-of-comma-separated-tokens>Set of comma-separated tokens</a>* consisting of <a href=#valid-mime-type title="valid MIME type">valid MIME types with no parameters</a> or <code title="">audio/*</code>, <code title="">video/*</code>, or <code title="">image/*</code>
     <tr><th> <code title="">accept-charset</code>
      <td> <code title=attr-form-accept-charset><a href=#attr-form-accept-charset>form</a></code>
      <td> Character encodings to use for <a href=#form-submission>form submission</a>

Modified: index
===================================================================
--- index	2010-01-09 08:52:24 UTC (rev 4553)
+++ index	2010-01-10 07:18:34 UTC (rev 4554)
@@ -112,7 +112,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>WHATWG HTML (Including HTML5)</h1>
-    <h2 class="no-num no-toc">Draft Standard — 9 January 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 10 January 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -1762,10 +1762,17 @@
   to refer to the type of media intended for presentation, as used by
   the CSS specifications. <a href=#refsRFC2046>[RFC2046]</a> <a href=#refsMQ>[MQ]</a></p>
 
-  <p>A string is a <dfn id=valid-mime-type>valid MIME type</dfn> if it matches the <code title="">media-type</code> rule defined in section 3.7 "Media
-  Types" of RFC 2616. <a href=#refsHTTP>[HTTP]</a></p>
+  <p>A string is a <dfn id=valid-mime-type>valid MIME type</dfn> if it matches the <code title="">media-type</code> rule defined in section 3.7 "Media Types"
+  of RFC 2616. In particular, a <a href=#valid-mime-type>valid MIME type</a> may
+  include MIME type parameters. <a href=#refsHTTP>[HTTP]</a></p>
 
+  <p>A string is a <dfn id=valid-mime-type-with-no-parameters>valid MIME type with no parameters</dfn> if it
+  matches the <code title="">media-type</code> rule defined in section
+  3.7 "Media Types" of RFC 2616, but does not contain any U+003B
+  SEMICOLON characters (;). In other words, if it consists only of a
+  type and subtype, with no MIME Type parameters. <a href=#refsHTTP>[HTTP]</a></p>
 
+
   <h4 id=xml><span class=secno>2.1.2 </span>XML</h4>
 
   <p id=html-namespace>To ease migration from HTML to XHTML, UAs
@@ -10729,8 +10736,8 @@
 
   <p>The <dfn id=attr-link-type title=attr-link-type><code>type</code></dfn> attribute
   gives the <a href=#mime-type>MIME type</a> of the linked resource. It is
-  purely advisory.  The value must be a <a href=#valid-mime-type>valid MIME type</a>,
-  optionally with parameters.</p>
+  purely advisory.  The value must be a <a href=#valid-mime-type>valid MIME
+  type</a>.</p>
 
   <p>For <a href=#external-resource-link title="external resource link">external resource
   links</a>, the <code title=attr-link-type><a href=#attr-link-type>type</a></code> attribute
@@ -11749,10 +11756,9 @@
   model</a>. The element does not <a href=#represents title=represents>represent</a> content for the user.</p>
 
   <p>If the <dfn id=attr-style-type title=attr-style-type><code>type</code></dfn>
-  attribute is given, it must contain a <a href=#valid-mime-type>valid MIME type</a>,
-  optionally with parameters, that designates a styling language. If
-  the attribute is absent, the type defaults to
-  <code>text/css</code>. <a href=#refsRFC2318>[RFC2318]</a></p>
+  attribute is given, it must contain a <a href=#valid-mime-type>valid MIME type</a>
+  that designates a styling language. If the attribute is absent, the
+  type defaults to <code>text/css</code>. <a href=#refsRFC2318>[RFC2318]</a></p>
 
   <div class=impl>
 
@@ -12129,8 +12135,9 @@
   <p>The <dfn id=attr-script-type title=attr-script-type><code>type</code></dfn>
   attribute gives the language of the script or format of the data. If
   the attribute is present, its value must be a <a href=#valid-mime-type>valid MIME
-  type</a>, optionally with parameters. The <code title="">charset</code> parameter must not be specified. (The
-  default, which is used if the attribute is absent, is "<code title="">text/javascript</code>".)</p>
+  type</a>. The <code title="">charset</code> parameter must not be
+  specified. (The default, which is used if the attribute is absent,
+  is "<code title="">text/javascript</code>".)</p>
 
   <p>The <dfn id=attr-script-src title=attr-script-src><code>src</code></dfn>
   attribute, if specified, gives the address of the external script
@@ -19880,12 +19887,14 @@
   present, must contain a <a href=#valid-url>valid URL</a>.</p>
 
   <p>The <dfn id=attr-embed-type title=attr-embed-type><code>type</code></dfn>
-  attribute, if present, gives the <a href=#mime-type>MIME type</a> of the plugin to
-  instantiate. The value must be a <a href=#valid-mime-type>valid MIME type</a>,
-  optionally with parameters. If both the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute and the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute are present, then the
-  <code title=attr-embed-type><a href=#attr-embed-type>type</a></code> attribute must specify the
-  same type as the <a href=#content-type title=Content-Type>explicit Content-Type
-  metadata</a> of the resource given by the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute.</p>
+  attribute, if present, gives the <a href=#mime-type>MIME type</a> of the
+  plugin to instantiate. The value must be a <a href=#valid-mime-type>valid MIME
+  type</a>. If both the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code>
+  attribute and the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code> attribute
+  are present, then the <code title=attr-embed-type><a href=#attr-embed-type>type</a></code>
+  attribute must specify the same type as the <a href=#content-type title=Content-Type>explicit Content-Type metadata</a> of the
+  resource given by the <code title=attr-embed-src><a href=#attr-embed-src>src</a></code>
+  attribute.</p>
 
   <div class=impl>
 
@@ -20156,8 +20165,7 @@
 
   <p>The <dfn id=attr-object-type title=attr-object-type><code>type</code></dfn>
   attribute, if present, specifies the type of the resource. If
-  present, the attribute must be a <a href=#valid-mime-type>valid MIME type</a>,
-  optionally with parameters.</p>
+  present, the attribute must be a <a href=#valid-mime-type>valid MIME type</a>.</p>
 
   <p>At least one of either the <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute or the <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute must be present.</p>
 
@@ -22069,10 +22077,11 @@
      fetch the resource</dt>
 
      <dt>If the <a href=#media-resource>media resource</a> is found to have <a href=#content-type title=Content-Type>Content-Type metadata</a> that, when
-     parsed as a <a href=#mime-type>MIME type</a> (including any codecs described by the
-     <code title="">codecs</code> parameter), represents <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type
-     that the user agent knows it cannot render</a> (even if the
-     actual <a href=#media-data>media data</a> is in a supported format)</dt>
+     parsed as a <a href=#mime-type>MIME type</a> (including any codecs
+     described by the <code title="">codecs</code> parameter),
+     represents <a href=#a-type-that-the-user-agent-knows-it-cannot-render>a type that the user agent knows it cannot
+     render</a> (even if the actual <a href=#media-data>media data</a> is in a
+     supported format)</dt>
 
      <dt>If the <a href=#media-data>media data</a> can be fetched but is found by
      inspection to be in an unsupported format, or can otherwise not
@@ -34462,7 +34471,7 @@
 
    <dd>Indicates that image files are accepted.</dd>
 
-   <dt>A <a href=#valid-mime-type>valid MIME type</a>, with no parameters</dt>
+   <dt>A <a href=#valid-mime-type-with-no-parameters>valid MIME type with no parameters</a></dt>
 
    <dd>Indicates that files of the specified type are accepted.</dd>
 
@@ -52633,8 +52642,8 @@
   such a link, he is given the opportunity to use that Web
   site. Analogously, the <dfn id=dom-navigator-registercontenthandler title=dom-navigator-registerContentHandler><code>registerContentHandler()</code></dfn>
   method allows Web sites to register themselves as possible handlers
-  for content in a particular <a href=#mime-type>MIME type</a>. For example, the same online
-  fax service could register itself as a handler for
+  for content in a particular <a href=#mime-type>MIME type</a>. For example, the
+  same online fax service could register itself as a handler for
   <code>image/g3fax</code> files (<a href=#refsRFC1494>[RFC1494]</a>), so that if the user has no
   native application capable of handling G3 Facsimile byte streams,
   his Web browser can instead suggest he use that site to view the
@@ -52714,9 +52723,9 @@
     whitespace, or include MIME parameters, then the handler being
     registered will never be used.</p>
 
-    <p class=note>The type is compared to the <a href=#mime-type>MIME type</a> used by the
-    user agent <em>after</em> the sniffing algorithms have been
-    applied.</p>
+    <p class=note>The type is compared to the <a href=#mime-type>MIME type</a>
+    used by the user agent <em>after</em> the sniffing algorithms have
+    been applied.</p>
 
    </dd>
 
@@ -52759,8 +52768,9 @@
      <pre><a href="chickenkïwi.soup">Download our Chicken Kïwi soup!</a></pre>
 
      <p>...then, assuming this <code>chickenkïwi.soup</code> file
-     was served with the <a href=#mime-type>MIME type</a> <code>application/x-soup</code>,
-     the UA might navigate to the following URL:</p>
+     was served with the <a href=#mime-type>MIME type</a>
+     <code>application/x-soup</code>, the UA might navigate to the
+     following URL:</p>
 
      <pre>http://example.com/soup?url=http://www.example.net/chickenk%C3%AFwi.soup</pre>
 
@@ -56860,12 +56870,13 @@
   resource.</span></p>
 
   <p>The <dfn id=attr-hyperlink-type title=attr-hyperlink-type><code>type</code></dfn>
-  attribute, if present, gives the <a href=#mime-type>MIME type</a> of the linked
-  resource. It is purely advisory. The value must be a <a href=#valid-mime-type>valid
-  MIME type</a>, optionally with parameters. <span class=impl>User agents must not consider the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attribute authoritative
-  — upon fetching the resource, user agents must not use
-  metadata included in the link to the resource to determine its
-  type.</span></p>
+  attribute, if present, gives the <a href=#mime-type>MIME type</a> of the
+  linked resource. It is purely advisory. The value must be a
+  <a href=#valid-mime-type>valid MIME type</a>. <span class=impl>User agents must
+  not consider the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code>
+  attribute authoritative — upon fetching the resource, user
+  agents must not use metadata included in the link to the resource to
+  determine its type.</span></p>
 
 
   <div class=impl>
@@ -79235,7 +79246,7 @@
    <tbody><tr><th> <code title="">accept</code>
      <td> <code title=attr-input-accept><a href=#attr-input-accept>input</a></code>
      <td> Hint for expected file type in <a href=#file-upload-state title=attr-input-type-file>file upload controls</a>
-     <td> <a href=#set-of-comma-separated-tokens>Set of comma-separated tokens</a>* consisting of <a href=#valid-mime-type title="valid MIME type">valid MIME types</a> or <code title="">audio/*</code>, <code title="">video/*</code>, or <code title="">image/*</code>
+     <td> <a href=#set-of-comma-separated-tokens>Set of comma-separated tokens</a>* consisting of <a href=#valid-mime-type title="valid MIME type">valid MIME types with no parameters</a> or <code title="">audio/*</code>, <code title="">video/*</code>, or <code title="">image/*</code>
     <tr><th> <code title="">accept-charset</code>
      <td> <code title=attr-form-accept-charset><a href=#attr-form-accept-charset>form</a></code>
      <td> Character encodings to use for <a href=#form-submission>form submission</a>

Modified: source
===================================================================
--- source	2010-01-09 08:52:24 UTC (rev 4553)
+++ source	2010-01-10 07:18:34 UTC (rev 4554)
@@ -747,10 +747,18 @@
   href="#refsMQ">[MQ]</a></p>
 
   <p>A string is a <dfn>valid MIME type</dfn> if it matches the <code
-  title="">media-type</code> rule defined in section 3.7 "Media
-  Types" of RFC 2616. <a href="#refsHTTP">[HTTP]</a></p>
+  title="">media-type</code> rule defined in section 3.7 "Media Types"
+  of RFC 2616. In particular, a <span>valid MIME type</span> may
+  include MIME type parameters. <a href="#refsHTTP">[HTTP]</a></p>
 
+  <p>A string is a <dfn>valid MIME type with no parameters</dfn> if it
+  matches the <code title="">media-type</code> rule defined in section
+  3.7 "Media Types" of RFC 2616, but does not contain any U+003B
+  SEMICOLON characters (;). In other words, if it consists only of a
+  type and subtype, with no MIME Type parameters. <a
+  href="#refsHTTP">[HTTP]</a></p>
 
+
   <h4>XML</h4>
 
   <p id="html-namespace">To ease migration from HTML to XHTML, UAs
@@ -11217,8 +11225,8 @@
 
   <p>The <dfn title="attr-link-type"><code>type</code></dfn> attribute
   gives the <span>MIME type</span> of the linked resource. It is
-  purely advisory.  The value must be a <span>valid MIME type</span>,
-  optionally with parameters.</p>
+  purely advisory.  The value must be a <span>valid MIME
+  type</span>.</p>
 
   <p>For <span title="external resource link">external resource
   links</span>, the <code title="attr-link-type">type</code> attribute
@@ -12397,10 +12405,10 @@
   title="represents">represent</span> content for the user.</p>
 
   <p>If the <dfn title="attr-style-type"><code>type</code></dfn>
-  attribute is given, it must contain a <span>valid MIME type</span>,
-  optionally with parameters, that designates a styling language. If
-  the attribute is absent, the type defaults to
-  <code>text/css</code>. <a href="#refsRFC2318">[RFC2318]</a></p>
+  attribute is given, it must contain a <span>valid MIME type</span>
+  that designates a styling language. If the attribute is absent, the
+  type defaults to <code>text/css</code>. <a
+  href="#refsRFC2318">[RFC2318]</a></p>
 
   <div class="impl">
 
@@ -12818,10 +12826,9 @@
   <p>The <dfn title="attr-script-type"><code>type</code></dfn>
   attribute gives the language of the script or format of the data. If
   the attribute is present, its value must be a <span>valid MIME
-  type</span>, optionally with parameters. The <code
-  title="">charset</code> parameter must not be specified. (The
-  default, which is used if the attribute is absent, is "<code
-  title="">text/javascript</code>".)</p>
+  type</span>. The <code title="">charset</code> parameter must not be
+  specified. (The default, which is used if the attribute is absent,
+  is "<code title="">text/javascript</code>".)</p>
 
   <p>The <dfn title="attr-script-src"><code>src</code></dfn>
   attribute, if specified, gives the address of the external script
@@ -21253,15 +21260,15 @@
   present, must contain a <span>valid URL</span>.</p>
 
   <p>The <dfn title="attr-embed-type"><code>type</code></dfn>
-  attribute, if present, gives the <span>MIME type</span> of the plugin to
-  instantiate. The value must be a <span>valid MIME type</span>,
-  optionally with parameters. If both the <code
-  title="attr-embed-type">type</code> attribute and the <code
-  title="attr-embed-src">src</code> attribute are present, then the
-  <code title="attr-embed-type">type</code> attribute must specify the
-  same type as the <span title="Content-Type">explicit Content-Type
-  metadata</span> of the resource given by the <code
-  title="attr-embed-src">src</code> attribute.</p>
+  attribute, if present, gives the <span>MIME type</span> of the
+  plugin to instantiate. The value must be a <span>valid MIME
+  type</span>. If both the <code title="attr-embed-type">type</code>
+  attribute and the <code title="attr-embed-src">src</code> attribute
+  are present, then the <code title="attr-embed-type">type</code>
+  attribute must specify the same type as the <span
+  title="Content-Type">explicit Content-Type metadata</span> of the
+  resource given by the <code title="attr-embed-src">src</code>
+  attribute.</p>
 
   <div class="impl">
 
@@ -21566,8 +21573,7 @@
 
   <p>The <dfn title="attr-object-type"><code>type</code></dfn>
   attribute, if present, specifies the type of the resource. If
-  present, the attribute must be a <span>valid MIME type</span>,
-  optionally with parameters.</p>
+  present, the attribute must be a <span>valid MIME type</span>.</p>
 
   <p>At least one of either the <code
   title="attr-object-data">data</code> attribute or the <code
@@ -23765,10 +23771,11 @@
 
      <dt>If the <span>media resource</span> is found to have <span
      title="Content-Type">Content-Type metadata</span> that, when
-     parsed as a <span>MIME type</span> (including any codecs described by the
-     <code title="">codecs</code> parameter), represents <span>a type
-     that the user agent knows it cannot render</span> (even if the
-     actual <span>media data</span> is in a supported format)</dt>
+     parsed as a <span>MIME type</span> (including any codecs
+     described by the <code title="">codecs</code> parameter),
+     represents <span>a type that the user agent knows it cannot
+     render</span> (even if the actual <span>media data</span> is in a
+     supported format)</dt>
 
      <dt>If the <span>media data</span> can be fetched but is found by
      inspection to be in an unsupported format, or can otherwise not
@@ -38276,7 +38283,7 @@
 
    <dd>Indicates that image files are accepted.</dd>
 
-   <dt>A <span>valid MIME type</span>, with no parameters</dt>
+   <dt>A <span>valid MIME type with no parameters</span></dt>
 
    <dd>Indicates that files of the specified type are accepted.</dd>
 
@@ -59491,8 +59498,8 @@
   site. Analogously, the <dfn
   title="dom-navigator-registerContentHandler"><code>registerContentHandler()</code></dfn>
   method allows Web sites to register themselves as possible handlers
-  for content in a particular <span>MIME type</span>. For example, the same online
-  fax service could register itself as a handler for
+  for content in a particular <span>MIME type</span>. For example, the
+  same online fax service could register itself as a handler for
   <code>image/g3fax</code> files (<a
   href="#refsRFC1494">[RFC1494]</a>), so that if the user has no
   native application capable of handling G3 Facsimile byte streams,
@@ -59580,9 +59587,9 @@
     whitespace, or include MIME parameters, then the handler being
     registered will never be used.</p>
 
-    <p class="note">The type is compared to the <span>MIME type</span> used by the
-    user agent <em>after</em> the sniffing algorithms have been
-    applied.</p>
+    <p class="note">The type is compared to the <span>MIME type</span>
+    used by the user agent <em>after</em> the sniffing algorithms have
+    been applied.</p>
 
    </dd>
 
@@ -59631,8 +59638,9 @@
      <pre><a href="chickenk&#xEF;wi.soup">Download our Chicken K&#xEF;wi soup!</a></pre>
 
      <p>...then, assuming this <code>chickenk&#xEF;wi.soup</code> file
-     was served with the <span>MIME type</span> <code>application/x-soup</code>,
-     the UA might navigate to the following URL:</p>
+     was served with the <span>MIME type</span>
+     <code>application/x-soup</code>, the UA might navigate to the
+     following URL:</p>
 
      <pre>http://example.com/soup?url=http://www.example.net/chickenk%C3%AFwi.soup</pre>
 
@@ -64386,14 +64394,13 @@
   resource.</span></p>
 
   <p>The <dfn title="attr-hyperlink-type"><code>type</code></dfn>
-  attribute, if present, gives the <span>MIME type</span> of the linked
-  resource. It is purely advisory. The value must be a <span>valid
-  MIME type</span>, optionally with parameters. <span
-  class="impl">User agents must not consider the <code
-  title="attr-hyperlink-type">type</code> attribute authoritative
-  — upon fetching the resource, user agents must not use
-  metadata included in the link to the resource to determine its
-  type.</span></p>
+  attribute, if present, gives the <span>MIME type</span> of the
+  linked resource. It is purely advisory. The value must be a
+  <span>valid MIME type</span>. <span class="impl">User agents must
+  not consider the <code title="attr-hyperlink-type">type</code>
+  attribute authoritative — upon fetching the resource, user
+  agents must not use metadata included in the link to the resource to
+  determine its type.</span></p>
 
 
   <div class="impl">
@@ -74249,8 +74256,9 @@
   must cause the user agent to <span>fail the connection</span>.</p>
 
   <p>HTTP 204 No Content, and 205 Reset Content responses are
-  equivalent to 200 OK responses with the right <span>MIME type</span> but no
-  content, and thus must <span>reestablish the connection</span>.</p>
+  equivalent to 200 OK responses with the right <span>MIME type</span>
+  but no content, and thus must <span>reestablish the
+  connection</span>.</p>
 
   <p>Other HTTP response codes in the 2xx range <!--201 Created, 202
   Accepted, 203 Non-Authoritative Information, and 206 Partial
@@ -94645,7 +94653,7 @@
      <th> <code title="">accept</code>
      <td> <code title="attr-input-accept">input</code>
      <td> Hint for expected file type in <span title="attr-input-type-file">file upload controls</span>
-     <td> <span>Set of comma-separated tokens</span>* consisting of <span title="valid MIME type">valid MIME types</span> or <code title="">audio/*</code>, <code title="">video/*</code>, or <code title="">image/*</code>
+     <td> <span>Set of comma-separated tokens</span>* consisting of <span title="valid MIME type">valid MIME types with no parameters</span> or <code title="">audio/*</code>, <code title="">video/*</code>, or <code title="">image/*</code>
     <tr>
      <th> <code title="">accept-charset</code>
      <td> <code title="attr-form-accept-charset">form</code>




More information about the Commit-Watchers mailing list