[Bug 9659] Initial U+0000 should not set frameset-ok to "not ok"

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9659





--- Comment #16 from Adam Barth <w3c@adambarth.com>  2010-09-12 21:12:12 ---
> The only alternative that seems to make sense is that U+0000 gets converted to
> a token that gets converted to U+FFFD in the tree builder, except in the "in
> body" mode, where it is ignored.

That introduces another per-character branch, which noticeably affects
performance.  The advantage of handling null while preprocessing the input
stream is that we already have a per-character branch there, so handling things
there has no performance impact.

Now, if we can push the state we need from the treebuilder and the tokenizer
into the input stream preprocessor, then we can implement that without a
performance penalty.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 12 September 2010 21:12:14 UTC