SSE; hixie: Tighten up UTF-8 error handling definitions (whatwg r5530)

SSE; hixie: Tighten up UTF-8 error handling definitions (whatwg r5530)

http://dev.w3.org/cvsweb/html5/eventsource/Overview.html?r1=1.148&r2=1.149&f=h
http://html5.org/tools/web-apps-tracker?from=5529&to=5530

===================================================================
RCS file: /sources/public/html5/eventsource/Overview.html,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- Overview.html 23 Sep 2010 17:45:11 -0000 1.148
+++ Overview.html 28 Sep 2010 19:16:27 -0000 1.149
@@ -185,7 +185,7 @@
   </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><div class="head">
    <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>Server-Sent Events</h1>
-   <h2 class="no-num no-toc" id="editor-s-draft-23-september-2010">Editor's Draft 23 September 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-28-september-2010">Editor's Draft 28 September 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/eventsource/">http://www.w3.org/TR/eventsource/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -255,7 +255,7 @@
   </ul><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING LIST TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- status of document, group responsible (required) --><p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications
   Working Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation track.
-  This specification is the 23 September 2010 Editor's Draft.
+  This specification is the 28 September 2010 Editor's Draft.
   </p><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
   February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/42538/status" rel="disclosure">public list of
   any patent disclosures</a> made in connection with the deliverables
@@ -558,9 +558,12 @@
   appropriate buffering is used. In particular, while line buffering
   with lines are defined to end with a single U+000A LINE FEED (LF)
   character is safe, block buffering or line buffering with different
-  expected line endings can cause delays in event dispatch.<h2 id="event-stream-interpretation"><span class="secno">7 </span>Interpreting an event stream</h2><p>Streams must be decoded as UTF-8 text. Bytes or sequences of
-  bytes that are not valid UTF-8 sequences must be interpreted as the
-  U+FFFD REPLACEMENT CHARACTER. <a href="#refsRFC3629">[RFC3629]</a><p>One leading U+FEFF BYTE ORDER MARK character must be ignored if
+  expected line endings can cause delays in event dispatch.<h2 id="event-stream-interpretation"><span class="secno">7 </span>Interpreting an event stream</h2><p>Streams must be <span>decoded as UTF-8, with error
+  handling</span>.
+  
+  <a href="#refsHTML">[HTML]</a>
+  
+  <p>One leading U+FEFF BYTE ORDER MARK character must be ignored if
   any are present.<p>The stream must then be parsed by reading everything line by
   line, with a U+000D CARRIAGE RETURN U+000A LINE FEED (CRLF)
   character pair, a single U+000A LINE FEED (LF) character not

Received on Tuesday, 28 September 2010 19:17:36 UTC