On 3/29/14 6:56 PM, Simon Sapin wrote:
Or I guess we could use what I’ll call "evil UTF-8", which is UTF-8 without the artificial restriction of not encoding surrogates.
http://en.wikipedia.org/wiki/CESU-8
As far as I understand, a "parse error" in the spec is meant for conformance checkers (validators), not user agents. There is no error recovery behavior, because this is not an error.
Technically a UA is allowed to just stop parsing at a "parse error". For a browser, of course, that's not web-compatible as you note.
-Boris _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo