minor bug in DOM Level 2 Traversal spec

In section 1.1.3 of the DOM Level 2 Traversal spec., the first block of
code includes these expressiosn:

     Node child = n.firstChild()

Since this appears to be Java code, I believe they should read:

     Node child = n.getFirstChild()

Or, in JavaScript, they should be

     var child = n.firstChild

     David Flanagan

Received on Thursday, 16 August 2001 18:31:04 UTC