Hi Mike, >>If an Attribute is a Node, and you call getParent on it, what should it >>return? > >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, DonReceived on Tuesday, 19 May 1998 22:02:16 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:45 GMT