Skip to Content.
Sympa Menu

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

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Markus Jais <markus_jais AT yahoo.de>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Nodes vs. NodeList
  • Date: Sun, 19 Oct 2003 17:55:29 -0000

On Sun, 2003-10-19 at 18:14, Elliotte Rusty Harold wrote:
>
> 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?


I think the advantages outweigh the downside. I too am not a native
speaker (my native tongue is german) but I think it is easy enough to
distinguish Node and Nodes. and most people using XOM will read the
documentation and not hear about it.

just my thoughts.

Markus

> --
>
> 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
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest






Archive powered by MHonArc 2.6.24.

Top of Page