W3C


Namespaces in XML 1.0 (Second Edition) Errata, 20 November 2008

Known Errors

NE14 editorial

Attribute production

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.

NE15 editorial

Stag production , EmptyElemTag production

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.

NE16 editorial

2 XML Namespaces

In sections 2.1 and 2.3, change the term "IRI" to "URI".

Fortunately this mistake occurs only in explanatory text.

NE17 editorial

3 Declaring Namespaces

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 of NCNameStartChar, is no longer the correct basis for defining names since XML 1.0 Fifth Edition, the NCNameStartChar 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.

NE18 editorial

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:

XML
Extensible Markup Language (XML) 1.0, Tim Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, and François Yergeau eds. W3C (World Wide Web Consortium). Available at http://www.w3.org/TR/REC-xml/.

NE19 editorial

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.