Lists Home |
Date Index |
- From: james anderson <James.Anderson@mecomnet.de>
- To: XML Dev <firstname.lastname@example.org>
- Date: Tue, 02 Feb 1999 22:11:27 +0100
John Cowan wrote:
> Mark Birbeck wrote:
> > OK then, some have argued, at least shouldn't 'isbn' automatically be
> > part of the 'bk' namespace? Still no, I'm afraid. Every member of a
> > namespace is meant to be unique.
> Well, not quite. An element can have the same name as a global
> attribute without problem.
In a similar vein, one unqualified attribute defined for one element can have
the same name as another unqualified attribute of another element without
sharing the same declaration.
More than one kind of "namespace" is necessary to interpret an xml document
which conforms to the spec. One kind of space maps QName's and Name's to
identifiers. Another kind maps identifiers to declarations.
The namespace spec itself does not do justice to this, and, in fact,
introduces - in relation to the notion of universal attribute names - the
impression that XML requires a Name -> Identifier -> Attribute-Declaration
mapping/namespace, when it does not. While one could accept that the illusion
of such a namespace is helpful for things like XSL patterns, this kind of
namespace is not entailed by the xml spec itself. It specifies a mapping of
the form Name -> Identifier -> Identifier -> Attribute-Declaration. That is,
it requires an element identifier in addition to an attribute identifier in
order to identify a declaration.
> ... There is a contradiction, AFAI can see,
> between clause 5.3 and Appendix A, and obviously 5.3 is normative.
? While I recognize a contradiction between Bray's interpretation of the body
of the spec and its Appendix A, I don't seen one between the spec itself and
Following A.3, example 1, line 5, the form from 5.3
<good a="1" b="2" />
<good a="1" n1:a="2" />
would have the equivalent (extended) Clark encoding (http://www.jclark.com/xml/xmlns.htm)
which would appear conformant. Where is the contradiction?
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)