W3C home > Mailing lists > Public > www-dom-ts@w3.org > January 2002

Re: Another issue

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Tue, 29 Jan 2002 09:02:42 -0500
To: <www-dom-ts@w3.org>
Message-ID: <OFB0D757C0.722F1C41-ON85256B50.004C7E76@pok.ibm.com>

Re INUSE_ATTRIBUTE_ERR: Good catch. I believe I raised that question back
in the DOM 1 days and was told our intent was that this exception could and
should be raised if the Attr node was already in use _anywhere_, including
on the Element where you intended to set it. But I agree that the wording
you've quoted doesn't mandate that and needs to be clarified one way or the

(This whole set of behaviors is left over from a time when we thought Attr
nodes might be shared by multiple elements. That idea was abandoned a
_very_ long time ago. Might it be time to consider biting the bullet and
making setAttributeNode[ns] imply removing the Attr from its previous
context first, as inserting a child node does?)

Joe Kesselman  / IBM Research
Received on Tuesday, 29 January 2002 09:04:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:04 UTC