namespace of attributes?

Andrew Layman andrewl at microsoft.com
Tue Sep 14 02:29:48 BST 1999


Right.  An unqualified attribute name is resolved against the per-element
namespace, not against the "default" namespace, if any.

-----Original Message-----
From: Tim Bray [mailto:tbray at textuality.com]
Sent: Sunday, September 12, 1999 6:56 PM
To: Joe Lapp; xml-dev at ic.ac.uk
Subject: Re: namespace of attributes?


At 09:12 PM 9/12/99 -0400, Joe Lapp wrote:
>I believe 5.3 and A.2 are both correct and consistent with each other,
>although I have to admit that the spec originally gave me trouble too.  My
>conclusion was that it is *not* possible to put an attribute in the default
>namespace.  An attribute goes in the per-element namespace unless the
>attribute explicity has a prefix that assigns it a namespace.

I think Joe is correct. -Tim


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

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





More information about the Xml-dev mailing list