Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM ancillary files vs Eclipse

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>
  • To: Ed Davies <edavies AT nildram.co.uk>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] XOM ancillary files vs Eclipse
  • Date: Tue, 18 Apr 2006 09:07:57 -0400

Ed Davies wrote:
XOM includes a group of ancillary files which can be used instead
of the XML stuff in the JDK. These include xalan.jar, xercesImpl.jar
and xml-apis.jar. They're not needed with Java 1.4 but are "quite a
bit faster and less buggy than the ones bundled with the JDK" so
I used them.

I just put them in lib/ext with the xom-1.1.jar file.

This turns out to be a bad idea as they seem to break Eclipse. It
fails with error messages about org/apache/xml/serializer/TreeWalker.
Now I've removed those files it seems to be working OK.

It's probably an incompatibility between different versions of Xerces. Can you be specific about the error messages?

This is with JDK 1.5.0_04, XOM 1.1, Eclipse 3.1.1 and 3.1.2 (I
upgraded to see if that fixed things before working out what the
real problem area was) under Ubuntu 5.04.


FYI, the parser in JDK 1.5 is OK. The XOM bundled versions are probably a little better, but not a lot better. They are much better than the versions in 1.4 though.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page