W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1998

Re: A few questions

From: Don Park <donpark@quake.net>
Date: Tue, 19 May 1998 18:54:54 -0700
Message-ID: <006801bd8392$4ae027b0$2ee044c6@arcot-main>
To: <www-dom@w3.org>, "Mike Champion" <mcc@arbortext.com>
Hi Mike,

>>If an Attribute is a Node, and you call getParent on it, what should it
>The Element (IMHO)

This is what I thought also until I realized that it could cause problems if
an Attribute is shared among multiple element (this could happen if the
attribute is FIXED or is inherited as DEFAULT value).  Furthermore, I think
it is confusing to have getParent returned the element when Attribute is not
a child of the element.

Best wishes,

Received on Tuesday, 19 May 1998 22:02:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC