[Elemement Traversal LC] why is the interface implemented as attributes in ECMASCRIPT?

hi,
the ElementTraversal interface is bound to readonly attributes in
ecmascript, whereas it is bound to methods in java.
why?

it would be more convenient if it was bound to methods in ecmascript either.
i can think of two arguments for this :
- the bindings will be more consistent (so that you don't have
"getChildElementCount" and "childElementCount" representing the same
binding)
- i can make a quick implementation in javascript

-- 
Slim Amamou
http://NoMemorySpace.wordpress.com

Received on Friday, 7 March 2008 08:48:39 UTC