xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Iterable Elements
- Date: Tue, 29 May 2007 21:17:19 -0400
Cass Costello wrote:
What are the disadvantages you see, Elliotte?
Incompatibility with everyone still on 1.4 is the big problem.
It would also needlessly duplicate functionality in the API. In XOM there's exactly one way to do it, and Iterator isn't it. Use a NodeList.
Finally, you'd have to figure out what to do about the remove() operation. I don't think there's a good answer for that.
XOM quite deliberately does not expose overly generic collections APIs that don't perfectly fit the problem space. I don't intend to start now.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
-
[XOM-interest] Iterable Elements,
Olivier Lefevre, 05/29/2007
-
Re: [XOM-interest] Iterable Elements,
Elliotte Harold, 05/29/2007
- Re: [XOM-interest] Iterable Elements, Randall R Schulz, 05/29/2007
-
Re: [XOM-interest] Iterable Elements,
Cass Costello, 05/29/2007
-
Re: [XOM-interest] Iterable Elements,
Elliotte Harold, 05/29/2007
-
Re: [XOM-interest] Iterable Elements,
Randall R Schulz, 05/29/2007
- Re: [XOM-interest] Iterable Elements, Michael Kay, 05/30/2007
-
Re: [XOM-interest] Iterable Elements,
Elliotte Harold, 05/30/2007
-
Re: [XOM-interest] Iterable Elements,
Randall R Schulz, 05/30/2007
- Re: [XOM-interest] Iterable Elements, Elliotte Harold, 05/30/2007
- Re: [XOM-interest] Iterable Elements, Randall R Schulz, 05/30/2007
-
Re: [XOM-interest] Iterable Elements,
Randall R Schulz, 05/30/2007
-
Re: [XOM-interest] Iterable Elements,
Randall R Schulz, 05/29/2007
-
Re: [XOM-interest] Iterable Elements,
Elliotte Harold, 05/29/2007
-
Re: [XOM-interest] Iterable Elements,
Elliotte Harold, 05/29/2007
- <Possible follow-up(s)>
- Re: [XOM-interest] Iterable Elements, Tatu Saloranta, 05/31/2007
Archive powered by MHonArc 2.6.24.