W3C home > Mailing lists > Public > public-html-diffs@w3.org > July 2009

hixie: Make &#xZ; for Z > 0x10FFFF return U+FFFD. (whatwg r3467)

From: poot <cvsmail@w3.org>
Date: Sun, 26 Jul 2009 18:26:15 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090726092616.0135F2BC0A@toro.w3.mag.keio.ac.jp>
hixie: Make &#xZ; for Z > 0x10FFFF return U+FFFD. (whatwg r3467)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2671&r2=1.2672&f=h
http://html5.org/tools/web-apps-tracker?from=3466&to=3467

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2671
retrieving revision 1.2672
diff -u -d -r1.2671 -r1.2672
--- Overview.html	26 Jul 2009 06:11:54 -0000	1.2671
+++ Overview.html	26 Jul 2009 09:25:47 -0000	1.2672
@@ -55209,7 +55209,11 @@
       <tr><td>0x9D <td>U+009D <td>&lt;control&gt;
       <tr><td>0x9E <td>U+017E <td>LATIN SMALL LETTER Z WITH CARON ('&#382;')
       <tr><td>0x9F <td>U+0178 <td>LATIN CAPITAL LETTER Y WITH DIAERESIS ('&Yuml;')
-    </table><p>Otherwise, return a character token for the Unicode character
+    </table><p>Otherwise, if the number is greater than 0x10FFFF, then this is
+    a <a href="#parse-error">parse error</a>. Return a U+FFFD REPLACEMENT
+    CHARACTER.</p>
+
+    <p>Otherwise, return a character token for the Unicode character
     whose code point is that number.
 
     <!-- this is the same as the equivalent list in the input stream
@@ -55224,8 +55228,7 @@
     0x6FFFF, 0x7FFFE, 0x7FFFF, 0x8FFFE, 0x8FFFF, 0x9FFFE, 0x9FFFF,
     0xAFFFE, 0xAFFFF, 0xBFFFE, 0xBFFFF, 0xCFFFE, 0xCFFFF, 0xDFFFE,
     0xDFFFF, 0xEFFFE, 0xEFFFF, 0xFFFFE, 0xFFFFF, 0x10FFFE, or
-    0x10FFFF, or is higher than 0x10FFFF, then this is a <a href="#parse-error">parse
-    error</a>.</p>
+    0x10FFFF, then this is a <a href="#parse-error">parse error</a>.</p>
 
    </dd>
Received on Sunday, 26 July 2009 09:26:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:07 GMT