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


--- Comment #32 from Ian 'Hixie' Hickson <ian@hixie.ch> 2010-10-19 06:05:53 UTC ---
This isn't a matter of optimisations, frankly, it's just a heck of a lot easier
to spec it this way than try to put in a whole extra step between the tree
constructor and the tokeniser. I do not buy for a second that there will be
fewer bugs if we make that editorial change. There will be bugs either way.

Anyway, to fix this I will make the following changes:

 - remove the NULL-to-FFFD conversion in the input stream preprocessor.

 - in all the tokeniser states except the Data State (and maybe the RAWDATA and
PLAINTEXT states, if someone can convince me that those are safe to leave nulls
in), make U+0000 output U+FFFD appropriately (e.g. as part of a tagname,
attribute value, etc).

 - add a branch in the foreign content state for U+0000 characters to have them
convert to U+FFFD characters.

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 Tuesday, 19 October 2010 06:06:07 UTC