FYI: I'm unfortunately getting the same error using 1.0 FCS. My solution was to simply add the saxpath jar to my classpath.
My code is below: import org.jaxen.*; import org.jaxen.dom.*; DocumentNavigator docnav = new DocumentNavigator(); XPath xpath = docnav.parseXPath( "/bbtvdata/programs/*" ); and the error looks like this: An exception has occurred in the compiler (1.3.1_03). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi). Include your program and the following diagnostic in your report. Thank you. com.sun.tools.javac.v8.code.Symbol$CompletionFailure: file org\saxpath\SAXPathException.class not found at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:997) at com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:952) at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366) at com.sun.tools.javac.v8.code.Type$ClassType.supertype(Type.java:812) at com.sun.tools.javac.v8.code.Symbol$ClassSymbol.isSubClass(Symbol.java:62 2) at com.sun.tools.javac.v8.comp.Check.isUnchecked(Check.java:541) at com.sun.tools.javac.v8.comp.Flow.markThrown(Flow.java:255) at com.sun.tools.javac.v8.comp.Flow._case(Flow.java:748) at com.sun.tools.javac.v8.tree.Tree$Apply.visit(Tree.java:785) at com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321) at com.sun.tools.javac.v8.comp.Flow.analyzeExpr(Flow.java:339) at com.sun.tools.javac.v8.comp.Flow._case(Flow.java:507) at com.sun.tools.javac.v8.tree.Tree$VarDef.visit(Tree.java:470) at com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321) at com.sun.tools.javac.v8.comp.Flow.analyzeStat(Flow.java:394) at com.sun.tools.javac.v8.comp.Flow.analyzeStats(Flow.java:413) at com.sun.tools.javac.v8.comp.Flow._case(Flow.java:520) at com.sun.tools.javac.v8.tree.Tree$Block.visit(Tree.java:492) at com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321) at com.sun.tools.javac.v8.comp.Flow.analyzeStat(Flow.java:394) at com.sun.tools.javac.v8.comp.Flow._case(Flow.java:488) at com.sun.tools.javac.v8.tree.Tree$MethodDef.visit(Tree.java:441) at com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321) at com.sun.tools.javac.v8.comp.Flow.analyzeDef(Flow.java:379) at com.sun.tools.javac.v8.comp.Flow._case(Flow.java:456) at com.sun.tools.javac.v8.tree.Tree$ClassDef.visit(Tree.java:402) at com.sun.tools.javac.v8.comp.Flow.analyze(Flow.java:321) at com.sun.tools.javac.v8.comp.Flow.analyzeDef(Flow.java:379) at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:380) at com.sun.tools.javac.v8.Main.compile(Main.java:247) at com.sun.tools.javac.Main.main(Main.java:16) Errors compiling Util [Locally Modified; 1.7]. > -----Original Message----- > From: bob mcwhirter > Sent: Fri, 15 Mar 2002 19:45:51 -0800 > Subject: Re: [Jaxen] SAXPathException > > While documenting, I did notice, that for some reason, Navigator has a > parseXPath(..) method that still throws SAXPathException, which I think > is probably the problem. Haven't investigated further. > > Maybe I'll get a chance tomorrow. Right now, going to watch TiVo > with the wife... > > -bob > > > On Fri, 15 Mar 2002, Elliotte Rusty Harold wrote: > > > I downloaded the 1.0b8 build from the web site today. When attempting to > > compile my Jaxen-utilising program under Java 1.4 (Haven't tried other > > versions yet) I run into this problem: > > > > D:\books\XMLJAVA\examples\16>javac FibonacciSOAPJaxenClient.java > > FibonacciSOAPJaxenClient.java:64: cannot access org.saxpath.SAXPathException > > file org\saxpath\SAXPathException.class not found > > XPath expression = new XPath( > > > > The offending line of code is > > > > XPath expression = new XPath( > > "/SOAP:Envelope/SOAP:Body/f:Fibonacci_Numbers/f:fibonacci"); > > > > I've moved everything except jaxen out of my classpath and I still get > > this error. Looking at the CVS tree, this seems to have been fixed back > > in December. Is the zip file on the web site up-to-date? Should I > > download from CVS instead? Or is something else likely to be going wrong? > > > > -- > > +-----------------------+------------------------+-------------------+ > > | Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer | > > +-----------------------+------------------------+-------------------+ > > | The XML Bible, 2nd Edition (IDG Books, 2001) | > > | <http://www.cafeconleche.org/books/bible2/> | > > | <http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/> | > > +----------------------------------+---------------------------------+ > > | Read Cafe au Lait for Java News: <http://www.cafeaulait.org/> | > > | Read Cafe con Leche for XML News: <http://www.cafeconleche.org/> | > > +----------------------------------+---------------------------------+ > > > > > > > > _______________________________________________ > > Jaxen-interest mailing list > > [EMAIL PROTECTED] > > <https://lists.sourceforge.net/lists/listinfo/jaxen-interest> > > > > > _______________________________________________ > Jaxen-interest mailing list > [EMAIL PROTECTED] > <https://lists.sourceforge.net/lists/listinfo/jaxen-interest> > _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest