Add a namespace constraint to the Attribute production [15]:
NSC: No Prefix Undeclaring. In a namespace declaration for a prefix (i.e where the NSAttName is a PrefixedAttName), the attribute value MUST NOT be empty.
This was already stated in the text, but should be made a namespace constraint.
Change the "Attribute" links in productions [12] Stag and [14] Empty Element Tag to point to #NT-Attribute instead of http://www.w3.org/TR/REC-xml#NT-Attribute.
In sections 2.1 and 2.3, change the term "IRI" to "URI".
Fortunately this mistake occurs only in explanatory text.
To ensure that its definition works with all editions of XML 1.0, update production [4] NCName as follows:
[4] | NCName | ::= | Name - (Char* ':' Char*) | /* An XML Name, minus the ":" */ |
Move productions [5] NCNameChar and [6] NCNameStartChar to a new Appendix F, as follows:
F Orphaned Productions
The following two productions are modified versions of ones which were present in the first two editions of this specification. They are no longer used, but are retained here to satisfy cross-references to undated versions of this specification.
Because the
Letter
production of XML 1.0, originally used in the definition ofNCNameStartChar
, is no longer the correct basis for defining names since XML 1.0 Fifth Edition, theNCNameStartChar
production has been modified to give the correct results against any edition of XML, by defining NCNameStartChar in terms of NCName.
[5] NCNameChar
::= NameChar - ':'
/* An XML NameChar, minus the ":" */ [6] NCNameStartChar
::= NCName - ( Char Char Char* )
/* The first letter of an NCName */ Note:
Production [6] NCNameStartChar takes advantage of the fact that a single-character NCName is necessarily an NCNameStartChar, and works by subtracting from the set of NCNames of all lengths the set of all strings of two or more characters, leaving only the NCNames which are one character long.
In 7 Conformance of Documents, correct the reference to the XML 1.0 specification to be [XML].
In A Normative References, for consistency with the cross-references from the syntax productions, change the entry for XML 1.0 as follows:
In 6.3 Uniqueness of Attributes turn the first sentence and the two numbered clauses following into a Namespace Constraint, and include a forward reference to it from production [15] Attribute.