Unknown HTML Character Entity Reference, with XHTML 1.0 Strict
DOCTYPE
Declaration
Test
&unknown;
is rendered as- &unknown;
©
is rendered as- ©
The innerHTML
of the list above is:
About the first dd
element:
Expected Result
- Conforming XHTML 1.0 User Agent
- Conforming XHTML Family User Agent
- The character reference (later) is treated as a
COPYRIGHT SIGN
.
- A validating user agent will report a validity error
since the
unknown
entity is not declared.
- A non-validating user agent will render the general
entity reference (former) as a sequence of nine characters:
&unknown;
.
Discussion
See a SuikaWiki article on entity references in XHTML documents.