- From: David Flanagan <david@oreilly.com>
- Date: Thu, 16 Aug 2001 14:36:56 -0700
- To: www-dom@w3.org
In section 1.1.3 of the DOM Level 2 Traversal spec., the first block of
code includes these expressiosn:
Node child = n.firstChild()
child.nextSibling()
Since this appears to be Java code, I believe they should read:
Node child = n.getFirstChild()
child.getNextSibling()
Or, in JavaScript, they should be
var child = n.firstChild
child.nextSibling
David Flanagan
Received on Thursday, 16 August 2001 18:31:04 UTC