2.1.10 [XML] Section 3.3.1, Attribute Types
V0011:
The specification states:
-
Validity constraint: ID Values of type ID MUST match the Name production. A name MUST NOT appear more than once in an XML document as a value of this type; i.e., ID values MUST uniquely identify the elements which bear them.
IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)
An ID value is not required to uniquely identify the element that is associated with it
V0012:
The specification states:
-
Validity constraint: One ID per Element Type An element type MUST NOT have more than one ID attribute specified.
IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)
An element type may have more than one ID attribute specified.
V0013:
The specification states:
-
Validity constraint: ID Attribute Default An ID attribute MUST have a declared default of #IMPLIED or #REQUIRED.
IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)
An ID attribute is not required to have a declared
default of #IMPLIED
or #REQUIRED
.
V0014:
The specification states:
-
Validity constraint: IDREF Values of type IDREF MUST match the Name production, and values of type IDREFS MUST match Names; each Name MUST match the value of an ID attribute on some element in the XML document; i.e. IDREF values MUST match the value of some ID attribute.
IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)
An IDREF entity attribute is not required to match the value of an ID attribute on an element in the XML document.
V0015:
The specification states:
-
Validity constraint: Entity Name Values of type ENTITY MUST match the Name production, values of type ENTITIES MUST match Names; each Name MUST match the name of an unparsed entity declared in the DTD.
IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)
Entity attribute types and the ENTITIES set of entities are not checked for validity. Entity attribute types are not required to match the name of an unparsed entity that is declared in the DTD.
V0016:
The specification states:
-
Validity constraint: Name Token Values of type NMTOKEN MUST match the Nmtoken production; values of type NMTOKENS MUST match Nmtokens.
IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)
Name token attribute types and the NMTOKENS set of name tokens are not checked for validity.
V0017:
The specification states:
-
Validity constraint: Notation Attributes Values of this type MUST match one of the notation names included in the declaration; all notation names in the declaration MUST be declared.
IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)
A notation attribute is not required to match a notation that is specified in the notation declarations, and all of the notations that are declared in the notation declarations are not required to be declared.
V0018:
The specification states:
-
Validity constraint: No Notation on Empty Element For compatibility, an attribute of type NOTATION MUST NOT be declared on an element declared EMPTY.
IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)
A NOTATION attribute may be declared on an element that is declared by using the EMPTY keyword.
V0019:
The specification states:
-
Validity constraint: No Duplicate Tokens The notation names in a single NotationType attribute declaration, as well as the NmTokens in a single Enumeration attribute declaration, MUST all be distinct.
IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)
Both NotationalType attribute types and Enumeration attribute types may contain identical elements.
V0020:
The specification states:
-
Validity constraint: Enumeration Values of this type MUST match one of the Nmtoken tokens in the declaration. For interoperability, the same Nmtoken SHOULD NOT occur more than once in the enumerated attribute types of a single element type.
IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)
Enumeration values are not required to be declared. The same token may occur more than once in an enumerated attribute type.