[kevinsneel@rcn.com: Comment on the namespace rec errata]

[Forwarding to the namespace comments list. paul]

-- 
From: "Kevin Neel" <kevinsneel@rcn.com>
To: <liam@w3.org>
Subject: Comment on the namespace rec errata
Date: Sat, 19 Jul 2003 09:58:33 -0700

In the last sentence of the NE08 change in
http://www.w3.org/XML/xml-names-19990114-errata, shouldn't "attributes" be
replaced with "values assigned to attributes"? As it reads, it sounds like a
restriction on attribute names. In fact, I didn't understand it until I read
the rationale for the change.

  No attributes with a declared type of ID, IDREF(S), ENTITY(IES) or
NOTATION contain any colons.

Thanks,
 Kevin


NE08 substantive
6 Conformance of Documents
Replace all of section 6 with the following:

6. Conformance of Documents

This specification applies to XML 1.0 documents. To conform to this
specification, a document must be well-formed according to the XML 1.0
specification.

In XML documents which conform to this specification, element types and
attribute names must match the production for QName and must satisfy the
"Namespace Constraints". All other tokens in the document which are
required, for XML 1.0 well-formedness, to match the XML production for Name,
must match this specification's production for NCName.

Definition: A document is namespace-well-formed if it conforms to this
specification.

It follows that in a namespace-well-formed document

All element types and attribute names contain either zero or one colon;
No entity names, PI targets, or notation names contain any colons.
In addition, a namespace-well-formed document may also be namespace-valid.

Definition: A namespace-well-formed document is namespace-valid if it is
valid according to the XML 1.0 specification, and all tokens other than
element types and attribute names which are required, for XML 1.0 validity,
to match the XML production for Name, match this specification's production
for NCName.

It follows that in a namespace-valid document

No attributes with a declared type of ID, IDREF(S), ENTITY(IES) or NOTATION
contain any colons.

Received on Sunday, 20 July 2003 20:01:15 UTC