spec/Overview.html 1.1869 2699 Clarify that there's no encoding necessa

Clarify that there's no encoding necessary for innerHTML and such like.
(whatwg r2699)

Status of this document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1869.html#status-of-this-document
script-created parser
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1869.html#script-created-parser
confidence
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1869.html#concept-encoding-confidence
A vocabulary and associated APIs for HTML and XHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1869.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
fragment case
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1869.html#fragment-case
Editor's Draft 24 January 2009
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1869.html#editor-s-draft-date-zzz-9-june-2008
encoding sniffing algorithm
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1869.html#encoding-sniffing-algorithm

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1868&r2=1.1869&f=h
http://html5.org/tools/web-apps-tracker?from=2698&to=2699

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1868
retrieving revision 1.1869
diff -u -d -r1.1868 -r1.1869
--- Overview.html 23 Jan 2009 11:48:58 -0000 1.1868
+++ Overview.html 24 Jan 2009 00:15:26 -0000 1.1869
@@ -8,7 +8,7 @@
    <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
    <h1>HTML 5</h1>
    <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->23 January 2009</h2>
+   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->24 January 2009</h2>
    <dl><!-- ZZZ: update the month/day
     <dt>This Version:</dt>
     <dd><a href="http://www.w3.org/TR/2009/WD-html5-20090610/">http://www.w3.org/TR/2009/WD-html5-20090610/</a></dd>
@@ -97,7 +97,7 @@
   specification's progress along the W3C Recommendation
   track.
   <!--ZZZ:-->
-  This specification is the 23 January 2009 <!--ZZZ "Working Draft"-->Editor's Draft.
+  This specification is the 24 January 2009 <!--ZZZ "Working Draft"-->Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -6331,7 +6331,8 @@
    the document. This is a <dfn id=script-created-parser>script-created parser</dfn> (meaning
    that it can be closed by the <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> and <code title=dom-document-close><a href=#dom-document-close>document.close()</a></code> methods, and
    that the tokeniser will wait for an explicit call to <code title=dom-document-close><a href=#dom-document-close>document.close()</a></code> before emitting
-   an end-of-file token).</li>
+   an end-of-file token).  The encoding <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> is
+   <i>irrelevant</i>.</li>
 
    <li>Mark the document as being an <a href=#html-documents title="HTML documents">HTML
    document</a> (it might already be so-marked).</li>
@@ -37867,10 +37868,14 @@
   available to the user agent (e.g. the <a href=#content-type-0 title=Content-Type>Content-Type metadata</a> of the document)
   and all the bytes available so far, and returns an encoding and a
   <dfn id=concept-encoding-confidence title=concept-encoding-confidence>confidence</dfn>. The
-  confidence is either <i>tentative</i> or <i>certain</i>. The
-  encoding used, and whether the confidence in that encoding is
-  <i>tentative</i> or <i>confident</i>, is <a href=#meta-charset-during-parse>used during the parsing</a> to
-  determine whether to <a href=#change-the-encoding>change the encoding</a>.<ol><li><p>If the transport layer specifies an encoding, and it is
+  confidence is either <i>tentative</i>, <i>certain</i>, or
+  <i>irrelevant</i>. The encoding used, and whether the confidence in
+  that encoding is <i>tentative</i> or <i>confident</i>, is <a href=#meta-charset-during-parse>used during the parsing</a> to
+  determine whether to <a href=#change-the-encoding>change the encoding</a>. If no
+  encoding is necessary, e.g. because the parser is operating on a
+  stream of Unicode characters and doesn't have to use an encoding at
+  all, then the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> is
+  <i>irrelevant</i>.<ol><li><p>If the transport layer specifies an encoding, and it is
    supported, return that encoding with the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a>
    <i>certain</i>, and abort these steps.</li>
 
@@ -43415,7 +43420,9 @@
    <li>
 
     <p>Place into the <a href=#the-input-stream>input stream</a> for the <a href=#html-parser>HTML
-    parser</a> just created the <var title="">input</var>.</p>
+    parser</a> just created the <var title="">input</var>. The
+    encoding <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> is
+    <i>irrelevant</i>.</p>
 
    </li>

Received on Saturday, 24 January 2009 00:19:05 UTC