put various response entity bodies in alphabetical order
authorAnne van Kesteren <annevk@opera.com>
Fri, 02 Dec 2011 13:36:23 +0100
changeset 17 b80a01ebbb6d
parent 16 68a9da91a8fe
child 18 56b50074b480
put various response entity bodies in alphabetical order
Overview.html
Overview.src.html
--- a/Overview.html	Wed Nov 30 14:06:43 2011 +0100
+++ b/Overview.html	Fri Dec 02 13:36:23 2011 +0100
@@ -39,7 +39,7 @@
 
    <h1 class="head" id="xmlhttprequest-ls">XMLHttpRequest</h1>
 
-   <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 30 November 2011</h2>
+   <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 2 December 2011</h2>
 
    <dl>
     <dt>This Version:</dt>
@@ -70,7 +70,7 @@
 <p class="dontpublish copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
 To the extent possible under law, the editor has waived all copyright and
 related or neighboring rights to this work. In addition, as of
-30 November 2011, the editor has made this specification available
+2 December 2011, the editor has made this specification available
 under the
 <a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
 which is available at
@@ -2216,6 +2216,96 @@
 
   <hr>
 
+  <p>The
+  <dfn id="arraybuffer-response-entity-body">arraybuffer response entity body</dfn>
+  is an <code class="external"><a href="http://www.khronos.org/registry/typedarray/specs/latest/#5">ArrayBuffer</a></code> representing
+  the <a href="#response-entity-body">response entity body</a>. If the
+  <a href="#arraybuffer-response-entity-body">arraybuffer response entity body</a> has no value assigned to it
+  let it be the return value of the following algorithm:</p>
+
+  <ol>
+   <li><p>If the <a href="#response-entity-body">response entity body</a> is null, return an empty
+   <code class="external"><a href="http://www.khronos.org/registry/typedarray/specs/latest/#5">ArrayBuffer</a></code> object and terminate
+   these steps.</li>
+
+   <li><p>Return an <code class="external"><a href="http://www.khronos.org/registry/typedarray/specs/latest/#5">ArrayBuffer</a></code>
+   object representing the <a href="#response-entity-body">response entity body</a>.</li>
+  </ol>
+
+
+  <p>The
+  <dfn id="blob-response-entity-body">blob response entity body</dfn> is a
+  <code class="external"><a href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a></code> representing the <a href="#response-entity-body">response entity body</a>. If
+  the <a href="#blob-response-entity-body">blob response entity body</a> has no value assigned to it let
+  it be the return value of the following algorithm:</p>
+
+  <ol>
+   <li><p>If the <a href="#response-entity-body">response entity body</a> is null, return an empty
+   <code class="external"><a href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a></code> object and terminate these steps.</li>
+
+   <li><p>Return a <code class="external"><a href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a></code> object representing the
+   <a href="#response-entity-body">response entity body</a>.</li>
+  </ol>
+
+
+
+  <p>The
+  <dfn id="document-response-entity-body">document response entity body</dfn>
+  is either a
+  <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document" title="concept-document">document</a>
+  representing the <a href="#response-entity-body">response entity body</a> or null. If it is a
+  <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document" title="concept-document">document</a>, its
+  <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a> is the
+  <a href="#xmlhttprequest-origin"><code>XMLHttpRequest</code> origin</a>. If the
+  <a href="#document-response-entity-body">document response entity body</a> has no value assigned to it let
+  it be the return value of the following algorithm:</p>
+
+  <ol>
+   <li><p>If the <a href="#response-entity-body">response entity body</a> is null, return null and
+   terminate these steps.</li>
+
+   <li><p>If <a href="#final-mime-type">final MIME type</a> is not null,
+   <code>text/html</code>, <code>text/xml</code>,
+   <code>application/xml</code>, or does not end in
+   <code title="">+xml</code>, return null and terminate these steps.
+
+   <li>
+    <p>If <code title="dom-XMLHttpRequest-responseType"><a href="#dom-xmlhttprequest-responsetype">responseType</a></code> is
+    the empty string and <a href="#final-mime-type">final MIME type</a> is
+    <code>text/html</code>, return null and terminate these steps.
+
+    <p class="note">This is restricted to
+    <code title="dom-XMLHttpRequest-responseType"><a href="#dom-xmlhttprequest-responsetype">responseType</a></code> being
+    "<code title="">document</code>" in order to prevent breaking legacy
+    content.
+
+   <li>
+    <p>If <a href="#final-mime-type">final MIME type</a> is <code>text/html</code> let,
+    <var title="">document</var> be a
+    <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document" title="concept-document">document</a> that
+    represents the <a href="#response-entity-body">response entity body</a> parsed following the
+    rules set forth in the HTML specification for an HTML parser with
+    scripting disabled. <a href="#refsHTML">[HTML]</a>
+
+   <li>
+    <p>Otherwise, let <var title="">document</var> be a
+    <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document" title="concept-document">document</a>
+    that represents the result of parsing the
+    <a href="#response-entity-body">response entity body</a> following the rules set forth in the
+    XML specifications. If that fails (unsupported character encoding,
+    namespace well-formedness error, etc.) return null and terminate these
+    steps.
+    <a href="#refsXML">[XML]</a> <a href="#refsXMLNS">[XMLNS]</a>
+
+    <p class="note">Scripts in the resulting document tree will not be
+    executed, resources referenced will not be loaded and no associated XSLT
+    will be applied.</p> <!-- XXX more formally?! -->
+   </li>
+
+   <li><p>Return <var title="">document</var>.
+  </ol>
+
+
   <p>The <dfn id="text-response-entity-body">text response entity body</dfn>
   is a string representing the <a href="#response-entity-body">response entity body</a>. The
   <a href="#text-response-entity-body">text response entity body</a> is the return value of the
@@ -2284,96 +2374,6 @@
   <p class="note">Authors are strongly encouraged to always encode their
   resources using UTF-8.</p>
 
-  <hr>
-
-  <p>The
-  <dfn id="document-response-entity-body">document response entity body</dfn>
-  is either a
-  <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document" title="concept-document">document</a>
-  representing the <a href="#response-entity-body">response entity body</a> or null. If it is a
-  <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document" title="concept-document">document</a>, its
-  <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a> is the
-  <a href="#xmlhttprequest-origin"><code>XMLHttpRequest</code> origin</a>. If the
-  <a href="#document-response-entity-body">document response entity body</a> has no value assigned to it let
-  it be the return value of the following algorithm:</p>
-
-  <ol>
-   <li><p>If the <a href="#response-entity-body">response entity body</a> is null, return null and
-   terminate these steps.</li>
-
-   <li><p>If <a href="#final-mime-type">final MIME type</a> is not null,
-   <code>text/html</code>, <code>text/xml</code>,
-   <code>application/xml</code>, or does not end in
-   <code title="">+xml</code>, return null and terminate these steps.
-
-   <li>
-    <p>If <code title="dom-XMLHttpRequest-responseType"><a href="#dom-xmlhttprequest-responsetype">responseType</a></code> is
-    the empty string and <a href="#final-mime-type">final MIME type</a> is
-    <code>text/html</code>, return null and terminate these steps.
-
-    <p class="note">This is restricted to
-    <code title="dom-XMLHttpRequest-responseType"><a href="#dom-xmlhttprequest-responsetype">responseType</a></code> being
-    "<code title="">document</code>" in order to prevent breaking legacy
-    content.
-
-   <li>
-    <p>If <a href="#final-mime-type">final MIME type</a> is <code>text/html</code> let,
-    <var title="">document</var> be a
-    <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document" title="concept-document">document</a> that
-    represents the <a href="#response-entity-body">response entity body</a> parsed following the
-    rules set forth in the HTML specification for an HTML parser with
-    scripting disabled. <a href="#refsHTML">[HTML]</a>
-
-   <li>
-    <p>Otherwise, let <var title="">document</var> be a
-    <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-document" title="concept-document">document</a>
-    that represents the result of parsing the
-    <a href="#response-entity-body">response entity body</a> following the rules set forth in the
-    XML specifications. If that fails (unsupported character encoding,
-    namespace well-formedness error, etc.) return null and terminate these
-    steps.
-    <a href="#refsXML">[XML]</a> <a href="#refsXMLNS">[XMLNS]</a>
-
-    <p class="note">Scripts in the resulting document tree will not be
-    executed, resources referenced will not be loaded and no associated XSLT
-    will be applied.</p> <!-- XXX more formally?! -->
-   </li>
-
-   <li><p>Return <var title="">document</var>.
-  </ol>
-
-
-  <p>The
-  <dfn id="blob-response-entity-body">blob response entity body</dfn> is a
-  <code class="external"><a href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a></code> representing the <a href="#response-entity-body">response entity body</a>. If
-  the <a href="#blob-response-entity-body">blob response entity body</a> has no value assigned to it let
-  it be the return value of the following algorithm:</p>
-
-  <ol>
-   <li><p>If the <a href="#response-entity-body">response entity body</a> is null, return an empty
-   <code class="external"><a href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a></code> object and terminate these steps.</li>
-
-   <li><p>Return a <code class="external"><a href="http://dev.w3.org/2006/webapi/FileAPI/#blob">Blob</a></code> object representing the
-   <a href="#response-entity-body">response entity body</a>.</li>
-  </ol>
-
-
-  <p>The
-  <dfn id="arraybuffer-response-entity-body">arraybuffer response entity body</dfn>
-  is an <code class="external"><a href="http://www.khronos.org/registry/typedarray/specs/latest/#5">ArrayBuffer</a></code> representing
-  the <a href="#response-entity-body">response entity body</a>. If the
-  <a href="#arraybuffer-response-entity-body">arraybuffer response entity body</a> has no value assigned to it
-  let it be the return value of the following algorithm:</p>
-
-  <ol>
-   <li><p>If the <a href="#response-entity-body">response entity body</a> is null, return an empty
-   <code class="external"><a href="http://www.khronos.org/registry/typedarray/specs/latest/#5">ArrayBuffer</a></code> object and terminate
-   these steps.</li>
-
-   <li><p>Return an <code class="external"><a href="http://www.khronos.org/registry/typedarray/specs/latest/#5">ArrayBuffer</a></code>
-   object representing the <a href="#response-entity-body">response entity body</a>.</li>
-  </ol>
-
 
 
   <h4 id="the-overridemimetype-method"><span class="secno">4.8.6 </span>The <code title="">overrideMimeType()</code> method</h4>
--- a/Overview.src.html	Wed Nov 30 14:06:43 2011 +0100
+++ b/Overview.src.html	Fri Dec 02 13:36:23 2011 +0100
@@ -2223,6 +2223,96 @@
 
   <hr>
 
+  <p>The
+  <dfn id="arraybuffer-response-entity-body">arraybuffer response entity body</dfn>
+  is an <code data-anolis-spec=typedarray>ArrayBuffer</code> representing
+  the <span>response entity body</span>. If the
+  <span>arraybuffer response entity body</span> has no value assigned to it
+  let it be the return value of the following algorithm:</p>
+
+  <ol>
+   <li><p>If the <span>response entity body</span> is null, return an empty
+   <code data-anolis-spec=typedarray>ArrayBuffer</code> object and terminate
+   these steps.</p></li>
+
+   <li><p>Return an <code data-anolis-spec=typedarray>ArrayBuffer</code>
+   object representing the <span>response entity body</span>.</p></li>
+  </ol>
+
+
+  <p>The
+  <dfn id="blob-response-entity-body">blob response entity body</dfn> is a
+  <code data-anolis-spec=fileapi>Blob</code> representing the <span>response entity body</span>. If
+  the <span>blob response entity body</span> has no value assigned to it let
+  it be the return value of the following algorithm:</p>
+
+  <ol>
+   <li><p>If the <span>response entity body</span> is null, return an empty
+   <code data-anolis-spec=fileapi>Blob</code> object and terminate these steps.</p></li>
+
+   <li><p>Return a <code data-anolis-spec=fileapi>Blob</code> object representing the
+   <span>response entity body</span>.</p></li>
+  </ol>
+
+
+
+  <p>The
+  <dfn id="document-response-entity-body">document response entity body</dfn>
+  is either a
+  <span data-anolis-spec=dom title=concept-document>document</span>
+  representing the <span>response entity body</span> or null. If it is a
+  <span data-anolis-spec=dom title=concept-document>document</span>, its
+  <span data-anolis-spec=html>origin</span> is the
+  <span><code>XMLHttpRequest</code> origin</span>. If the
+  <span>document response entity body</span> has no value assigned to it let
+  it be the return value of the following algorithm:</p>
+
+  <ol>
+   <li><p>If the <span>response entity body</span> is null, return null and
+   terminate these steps.</p></li>
+
+   <li><p>If <span>final MIME type</span> is not null,
+   <code>text/html</code>, <code>text/xml</code>,
+   <code>application/xml</code>, or does not end in
+   <code title>+xml</code>, return null and terminate these steps.
+
+   <li>
+    <p>If <code title=dom-XMLHttpRequest-responseType>responseType</code> is
+    the empty string and <span>final MIME type</span> is
+    <code>text/html</code>, return null and terminate these steps.
+
+    <p class=note>This is restricted to
+    <code title=dom-XMLHttpRequest-responseType>responseType</code> being
+    "<code title>document</code>" in order to prevent breaking legacy
+    content.
+
+   <li>
+    <p>If <span>final MIME type</span> is <code>text/html</code> let,
+    <var title>document</var> be a
+    <span data-anolis-spec=dom title=concept-document>document</span> that
+    represents the <span>response entity body</span> parsed following the
+    rules set forth in the HTML specification for an HTML parser with
+    scripting disabled. <span data-anolis-ref>HTML</span>
+
+   <li>
+    <p>Otherwise, let <var title>document</var> be a
+    <span data-anolis-spec=dom title=concept-document>document</span>
+    that represents the result of parsing the
+    <span>response entity body</span> following the rules set forth in the
+    XML specifications. If that fails (unsupported character encoding,
+    namespace well-formedness error, etc.) return null and terminate these
+    steps.
+    <span data-anolis-ref>XML</span> <span data-anolis-ref>XMLNS</span>
+
+    <p class=note>Scripts in the resulting document tree will not be
+    executed, resources referenced will not be loaded and no associated XSLT
+    will be applied.</p> <!-- XXX more formally?! -->
+   </li>
+
+   <li><p>Return <var title>document</var>.
+  </ol>
+
+
   <p>The <dfn id="text-response-entity-body">text response entity body</dfn>
   is a string representing the <span>response entity body</span>. The
   <span>text response entity body</span> is the return value of the
@@ -2291,96 +2381,6 @@
   <p class=note>Authors are strongly encouraged to always encode their
   resources using UTF-8.</p>
 
-  <hr>
-
-  <p>The
-  <dfn id="document-response-entity-body">document response entity body</dfn>
-  is either a
-  <span data-anolis-spec=dom title=concept-document>document</span>
-  representing the <span>response entity body</span> or null. If it is a
-  <span data-anolis-spec=dom title=concept-document>document</span>, its
-  <span data-anolis-spec=html>origin</span> is the
-  <span><code>XMLHttpRequest</code> origin</span>. If the
-  <span>document response entity body</span> has no value assigned to it let
-  it be the return value of the following algorithm:</p>
-
-  <ol>
-   <li><p>If the <span>response entity body</span> is null, return null and
-   terminate these steps.</p></li>
-
-   <li><p>If <span>final MIME type</span> is not null,
-   <code>text/html</code>, <code>text/xml</code>,
-   <code>application/xml</code>, or does not end in
-   <code title>+xml</code>, return null and terminate these steps.
-
-   <li>
-    <p>If <code title=dom-XMLHttpRequest-responseType>responseType</code> is
-    the empty string and <span>final MIME type</span> is
-    <code>text/html</code>, return null and terminate these steps.
-
-    <p class=note>This is restricted to
-    <code title=dom-XMLHttpRequest-responseType>responseType</code> being
-    "<code title>document</code>" in order to prevent breaking legacy
-    content.
-
-   <li>
-    <p>If <span>final MIME type</span> is <code>text/html</code> let,
-    <var title>document</var> be a
-    <span data-anolis-spec=dom title=concept-document>document</span> that
-    represents the <span>response entity body</span> parsed following the
-    rules set forth in the HTML specification for an HTML parser with
-    scripting disabled. <span data-anolis-ref>HTML</span>
-
-   <li>
-    <p>Otherwise, let <var title>document</var> be a
-    <span data-anolis-spec=dom title=concept-document>document</span>
-    that represents the result of parsing the
-    <span>response entity body</span> following the rules set forth in the
-    XML specifications. If that fails (unsupported character encoding,
-    namespace well-formedness error, etc.) return null and terminate these
-    steps.
-    <span data-anolis-ref>XML</span> <span data-anolis-ref>XMLNS</span>
-
-    <p class=note>Scripts in the resulting document tree will not be
-    executed, resources referenced will not be loaded and no associated XSLT
-    will be applied.</p> <!-- XXX more formally?! -->
-   </li>
-
-   <li><p>Return <var title>document</var>.
-  </ol>
-
-
-  <p>The
-  <dfn id="blob-response-entity-body">blob response entity body</dfn> is a
-  <code data-anolis-spec=fileapi>Blob</code> representing the <span>response entity body</span>. If
-  the <span>blob response entity body</span> has no value assigned to it let
-  it be the return value of the following algorithm:</p>
-
-  <ol>
-   <li><p>If the <span>response entity body</span> is null, return an empty
-   <code data-anolis-spec=fileapi>Blob</code> object and terminate these steps.</p></li>
-
-   <li><p>Return a <code data-anolis-spec=fileapi>Blob</code> object representing the
-   <span>response entity body</span>.</p></li>
-  </ol>
-
-
-  <p>The
-  <dfn id="arraybuffer-response-entity-body">arraybuffer response entity body</dfn>
-  is an <code data-anolis-spec=typedarray>ArrayBuffer</code> representing
-  the <span>response entity body</span>. If the
-  <span>arraybuffer response entity body</span> has no value assigned to it
-  let it be the return value of the following algorithm:</p>
-
-  <ol>
-   <li><p>If the <span>response entity body</span> is null, return an empty
-   <code data-anolis-spec=typedarray>ArrayBuffer</code> object and terminate
-   these steps.</p></li>
-
-   <li><p>Return an <code data-anolis-spec=typedarray>ArrayBuffer</code>
-   object representing the <span>response entity body</span>.</p></li>
-  </ol>
-
 
 
   <h4>The <code title>overrideMimeType()</code> method</h4>