[Webkit-unassigned] [Bug 22210] don't allow NCRs with surrogate codepoints
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 6 18:09:46 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=22210
jshin at chromium.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ian at hixie.ch
Status|NEW |ASSIGNED
------- Comment #4 from jshin at chromium.org 2009-03-06 18:09 PDT -------
It turned out that HTML5 (current draft) has the following to say about the
issue:
Otherwise, if the number is in the range 0x0000 to 0x0008, 0x000E to 0x001F,
0x007F to 0x009F, 0xD800 to 0xDFFF, 0xFDD0 to 0xFDEF, or is one of 0x000B,
0xFFFE, 0xFFFF, 0x1FFFE, 0x1FFFF, 0x2FFFE, 0x2FFFF, 0x3FFFE, 0x3FFFF, 0x4FFFE,
0x4FFFF, 0x5FFFE, 0x5FFFF, 0x6FFFE, 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 parse error; return a
character token for the U+FFFD REPLACEMENT CHARACTER character instead.
So, for surrogate codepoints in NCRs, we have to replace each of them with
U+FFFD (as we used to do).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list