Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] General comment and specific question

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: John Cowan <jcowan AT reutershealth.com>
  • Cc: hal AT idi.ntnu.no, xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] General comment and specific question
  • Date: Fri, 17 Jan 2003 19:57:16 -0500

At 11:22 AM -0400 9/19/02, John Cowan wrote:
Elliotte Rusty Harold scripsit:

What don't you like about element.getChildElements().size()?

Instant garbage object.


I'm going through some old XOM mail and seeing what I've fixed, what I can easily fix, and what's no longer relevant.

On the request for a getChildElementCount() method, I'm thinking the only common use case I can imagine for this is one followed by an iteration through the list. Given that I don't think this is likely to create an instant garbage object, so unless someone comes up with a good use case, I'm going to delete this feature request from my queue.

On the other hand, I did add the requested indexOf method several releases
ago.
--

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo AT metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| Processing XML with Java (Addison-Wesley, 2002) |
| http://www.cafeconleche.org/books/xmljava |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+



  • Re: [XOM-interest] General comment and specific question, Elliotte Rusty Harold, 01/17/2003

Archive powered by MHonArc 2.6.24.

Top of Page