W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

minor bug in DOM Level 2 Traversal spec

From: David Flanagan <david@oreilly.com>
Date: Thu, 16 Aug 2001 14:36:56 -0700
Message-Id: <200108162136.OAA00996@oxymoron.oreilly.com>
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()

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 GMT

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