Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Let Elements implement java.lang.Iterable

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Dave Pawson" <dave.pawson AT gmail.com>
  • To: elharo AT metalab.unc.edu
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Let Elements implement java.lang.Iterable
  • Date: Tue, 11 Mar 2008 08:16:35 +0000

On 11/03/2008, Elliotte Harold <elharo AT metalab.unc.edu> wrote:
> You know, I was about to say "Not going to happen as long as Java allows
> type-erasure", but now that I think about it for 30 seconds, does that
> matter? I could expose Iterable<Node> without actually compromising
> XOM's type-safety. What do people think?

It does align well with the more abstract groupings that elements
seem to match Elliotte?

Try it and see if it causes troubles? Mark it as experimental
if you're uncomfortable with it.


regards



--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk




Archive powered by MHonArc 2.6.24.

Top of Page