Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Sparta: similar to XOM.

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: "O'Brien-Strain, Eamonn" <eob AT exch.hpl.hp.com>, "'xom-interest AT lists.ibiblio.org'" <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Sparta: similar to XOM.
  • Date: Sat, 28 Sep 2002 09:20:49 -0400

At 4:45 PM -0700 9/27/02, O'Brien-Strain, Eamonn wrote:


* JDK Version
-- Sparta is targeted to run on JDK 1.1.* or J2ME so that it can run on small devices like cell phones. (Though this still needs verification.)
-- XOM needs at least JDK 1.2


I'm debating on whether I'll fix this for 1.0 or not. I suppose it depends in large part on whether anyone asks for it.

As far as I know, there's only one 1.2 dependence in XOM, the java.util. ArrayList class used internally and its superclasses and interfaces. That can be fixed by using a special 1.1 build that uses com.sun.util.ArrayList instead of java.util.ArrayList, but this approach has caused persistent confusion for new JDOM users who invariably seem to end up with the wrong version, so I don't like it.

If I do fix this, it will probably involve writing my own list class to replace java.util. ArrayList. However, I'd prefer to avoid that if I can find a well-tested class to borrow from another open source project. I looked at Gnu Classpath, but I don't think the license is really compatible.

--

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo AT metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+




Archive powered by MHonArc 2.6.24.

Top of Page