W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2006

Re: Description of textContent incorrect for attributes

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Thu, 12 Oct 2006 09:47:09 -0500
Message-ID: <452E556D.9030409@mit.edu>
To: Norman Walsh <ndw@nwalsh.com>
CC: www-dom@w3.org

Norman Walsh wrote:
> As attributes have no children, it must always be null.

Last I checked, in DOM Level 3 Attr nodes had children.  At least a Text node 
with the attr value, and possibly EntityReferenceNodes if the attr value 
contained entity references...

Received on Thursday, 12 October 2006 14:47:31 UTC

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