illegal namespace usage

David Megginson david at
Mon Aug 9 23:21:58 BST 1999

Simon St.Laurent writes:

 > I have some questions about the Namespaces Recommendation's
 > (non-)treatment of processor behavior.  Section 6, Conformance of
 > Documents, states what is needed to ensure conformance but doesn't
 > specify what a processor should do if it encounters
 > non-conformance.  Section 5.3, Uniqueness of Attributes, makes it
 > illegal to have two attributes for an element that have identical
 > qualified names, never mind the prefixes.
 > How should XML processors handle these errors?  Is the uniqueness
 > of attributes issue equivalent to the XML 1.0 ban on attributes
 > with the same name (section 3.1), or is it totally outside of that
 > realm?  There isn't any explicit relation expressed between these
 > errors and well-formedness or validity constraints, and I'm not
 > even sure a processor should flag an error.

For now, it's safest to think of Namespaces as an application layer on
top of XML rather than part of XML itself.

In fact, that distinction probably won't last for long -- the current
public XSL and Infoset working drafts, to give only two of many
possible examples, treat Namespaces as an integral part of XML, and if
there ever is an XML 1.1 or an XML 2.0, I'd be surprised not to see
Namespaces in it (together with Infoset).

All the best,


David Megginson                 david at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list