2.2.61 [HTML5:2014] Section 8.2.7 Coercing an HTML DOM into an infoset
C0081: Local names of elements and attributes are limited to the ASCII character range
The specification states:
-
8.2.7 Coercing an HTML DOM into an infoset ... If the XML API being used restricts the allowable characters in the local names of elements and attributes, then the tool may map all element and attribute local names that the API wouldn't support to a set of names that are allowed, by replacing any character that isn't supported with the uppercase letter U and the six digits of the character's Unicode code point when expressed in hexadecimal, using digits 0-9 and capital letters A-F as the symbols, in increasing numeric order.
All document modes (All versions)
Local names of elements and attributes are limited to the ASCII character range.
C0080: Attributes are dropped if they start with xmlns in the case of no namespace
The specification states:
-
8.2.7 Coercing an HTML DOM into an infoset ... If the XML API doesn't support attributes in no namespace that are named "xmlns", attributes whose names start with "xmlns:", or attributes in the XMLNS namespace, then the tool may drop such attributes.
All document modes (All versions)
Attributes are dropped if they start with xmlns:
in the case of no namespace.
C0082: No space is inserted between consecutive "-" (U+002D) characters or after one that ends a line
The specification states:
-
8.2.7 Coercing an HTML DOM into an infoset ... If the XML API restricts comments from having two consecutive U+002D HYPHEN-MINUS characters (--), the tool may insert a single U+0020 SPACE character between any such offending characters. If the XML API restricts comments from ending in a U+002D HYPHEN-MINUS character (-), the tool may insert a single U+0020 SPACE character at the end of such comments.
All document modes (All versions)
No space is inserted between consecutive "-" (U+002D) characters or after one that ends a line.