Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Iterable Elements

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Iterable Elements
  • Date: Wed, 30 May 2007 22:02:17 -0400

Randall R Schulz wrote:

I'm sure you'll balk at this--I would--but I'm seeing some library JARs released in multiple versions, depending on which version of Java / JVM they are to be used with. The JGraphT and Javolution libraries do this, e.g.. Both use generics and have some sort of retro transformation that renders their source code pre-1.5 compatible. I don't know offhand whether they use any of the new library / compiler types such as Iterable and if so how they handle that.

If generics actually worked and could be relied on, that would be a significant benefit to using Java 5. But since they can't be relied on, I couldn't use them for XOM, even if I were to move to Java 5 so the point's moot.

--
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/




Archive powered by MHonArc 2.6.24.

Top of Page