23 chars · 1 line
Waiting for input
23 chars · 1 line
Waiting for input
XML character references
The sample uses hexadecimal code point 110000, which is beyond Unicode's highest code point U+10FFFF. Numeric syntax alone is not enough; the referenced character must also be permitted by XML. This tool is free to use. No account or payment is required.
Last updated
A parser validates both the reference syntax and its resulting Unicode scalar value. Values above U+10FFFF and disallowed control characters cannot be made valid simply by writing them numerically.
Repeated invalid references often originate in custom serializers that emit unchecked integers. Fix the encoder so future XML is generated with valid Unicode values.
Replace an impossible code point with a valid Unicode reference.
<root>�</root><root>😀</root>Common questions
Unicode code points end at U+10FFFF.
No. XML also restricts some character ranges, so the referenced code point must be allowed by the applicable XML version.
Yes. They use the form &#x...; and must still resolve to a valid character.
Debugging a specific XML issue? Browse XML troubleshooting.