W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Attributes and ownerDocument

From: <msabin@cromwellmedia.co.uk>
Date: Mon, 7 Sep 1998 15:25:30 +0100
Message-ID: <c=US%a=_%p=Cromwell_Media%l=ODIN-980907142530Z-131@odin.cromwellmedia.co.uk>
To: <www-dom@w3.org>
According to PR-DOM-Level-1-19980818,

  DOM Attribute objects inherit the Node interface, but 
  since they are not actually child nodes of the element 
  they describe, the DOM does not consider them part of 
  the document tree.

If it weren't for the fact that the immediately following sentence,

  Thus, the Node attributes parentNode, previousSibling,
  and nextSibling have a null value for Attribute objects. 

doesn't mention ownerDocument I would have assumed that not being 'part
of the document tree' would imply that this attribute would be null too.

Can anyone reassure me that a null value would be conforming?


Received on Monday, 7 September 1998 10:28:03 UTC

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