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

Re: Error in DOM Level 1 Specification

From: Don Park <donpark@quake.net>
Date: Sat, 24 Oct 1998 17:12:01 -0700
Message-ID: <007301bdffac$19f6bba0$2ee044c6@arcot-main>
To: <www-dom@w3.org>
>"since the Element interface inherits from Node <level-one-core.html>, the
>generic Node <level-one-core.html> interface method getAttributes may be
>used to retrieve the set of all attributes for an element"
>However, there is no getAttributes method, the attributes can be obtained
>from the node via the "attributes" attribute


Toivo,

From the "DOM Interfaces and DOM Implementations" section of the DOM
specification at

http://www.w3.org/TR/REC-DOM-Level-1/introduction.html#ID-E7C30826

"Attributes defined in the IDL do not imply concrete objects which must have
specific data members - in the language bindings, they are translated to a
pair of get()/set() functions, not to a data member. (Read-only functions
have only a get() function in the language bindings)."

Best,

Don Park
Docuverse
Received on Saturday, 24 October 1998 20:12:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT