2.1.143 [HTML5:2014] Section 8.2.5.5 The rules for parsing tokens in foreign content
V0317: A U+0000 NULL character does not generate a parse error
The specification states:
-
8.2.5.5 The rules for parsing tokens in foreign content When the user agent is to apply the rules for parsing tokens in foreign content, the user agent must handle the token as follows: A character token that is U+0000 NULL Parse error. Insert a U+FFFD REPLACEMENT CHARACTER character.
All document modes (All versions)
A U+0000 NULL character does not generate a parse error.