Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] Nodes vs. NodeList

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] Nodes vs. NodeList
  • Date: Sun, 19 Oct 2003 12:14:03 -0400


I'm currently making a push to finish up the last few API issues in the XOM TODO list so I can move from a development release to an alpha release. The goal is that once I declare XOM alpha there won't be any breaking API changes without a very good reason.

One of the changes I'm considering making before that point is changing the name of the NodeList class to Nodes. This has several advantages:

1. Consistent with Elements and Attributes
2. No confusion or conflict with the DOM NodeList interface
3. Does not incorrectly imply that a NodeList is a java.util.List

Downside:

1. It's somewhat harder to distinguish in speech, especially for non-native speakers. It may not always be clear whether I'm talking about a Node or Nodes object.

Thoughts?
--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page