W3C home > Mailing lists > Public > www-xml-infoset-comments@w3.org > July to September 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: <4.3.2.7.2.20000811102124.022e6960@pop.intergate.ca>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:12:22 GMT