Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Nux 1.0 rc2 problem

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Wolfgang Hoschek <whoschek AT lbl.gov>
  • To: Elliotte Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Nux 1.0 rc2 problem
  • Date: Tue, 18 Jan 2005 09:07:13 -0800

Hmm, weird.

The xom.jar shipped with nux is from XOM 1.1 CVS where class nu.xom.Node imports Jaxen as those are needed in it's XPath query() methods. I always thought that unless one uses those methods, the Jaxen jar files would be optional. Turns out not to be the case - they are always needed. Probably because they are part of the public interface and perhaps used by java to calculate a unique ID of its public API.

Anyway, you can download the jaxen-1.1* lib from XOM's CVS: https://xom.dev.java.net/source/browse/xom/lib/

To Elliotte: Is it really intended that XOM users need the jaxen jars even if they don't use them? Any known work-around?

Wolfgang.

On Jan 18, 2005, at 7:20 AM, Elliotte Harold wrote:

Claudio Haffner wrote:

It looks like the implementation of Nux 1.0 rc2 is missing the package org.Jaxen, where JaxenException should be included.
Could you help me in solving this problem, please ?

I don't think this is NUX that's biting you. As far as I know NUX doesn't use Jaxen. XOM 1.1 in CVS does use Jaxen so you've probably gotten a hold of that somehow. A jaxen jar file is also in CVS in the lib directory but either you haven't downloaded it or it's not in your classpath.

The stack trace is weird though. Is your program calling Node.query()? If it's not, I really don't know what code would try to load JaxenException.

--
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
_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest





Archive powered by MHonArc 2.6.24.

Top of Page