W3C home > Mailing lists > Public > xml-names-editor@w3.org > August 2000

Re: Determining attribute uniqueness seems to require namespace prefix in Infoset

From: Tim Bray <tbray@textuality.com>
Date: Fri, 11 Aug 2000 10:23:44 -0700
Message-Id: <>
To: "John Boyer" <jboyer@PureEdge.com>, <xml-names-editor@w3.org>
Cc: <www-xml-infoset-comments@w3.org>, "XML DSig" <w3c-ietf-xmldsig@w3.org>
At 10:15 AM 11/08/00 -0700, John Boyer wrote:
>Dear Editors,
>Please see the first example of Section 5.2 and the sentence immediately above it, which says "Note that default namespaces do not apply directly to attributes" [1].  One chairman of the XML DSig group recently commented that the word 'directly' may be intended to indicate that unqualified attributes inherit their namespace setting from the parent element.  This seems sensible to me as the href attribute should be in the same namespace as the parent element <a>.

There is no ambiguity here.  An attribute whose name contains no
prefix is not in any namespace.  As you point out, the examples in
sect 5.3 make this clear; if defaulting applied in any way at all,
directly or indirectly, those examples would not work as the spec says
they do. -Tim
Received on Friday, 11 August 2000 13:24:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:13:24 UTC