[jdom-interest] so what am i missing in xpath?

tom wible airdrummer at wheel.org
Tue May 21 12:02:35 PDT 2002


i'm trying to use xpath, having d/l'd the source & associated jars:

com/trw/mdd/mdnt/COVER/ScenarioDataParser.java:81: package org.jdom.xpath does not exist

so i tried building xpath:

org/jdom/xpath/JaxenXPath.java:244: package org.jaxen.jdom does not exist

here's /usr/java1.4.sdk/jre/lib/ext
-rw-r--r--    1 wiblete  161573 May 21 14:43 jars/jaxen-core.jar
-rw-r--r--    1 wiblete    5988 May 21 14:43 jars/jaxen-jdom.jar
-rw-r--r--    1 wiblete   28404 May 21 14:43 jars/jaxp.jar
-rw-r--r--    1 wiblete  127118 Mar 28 13:12 jars/jdom.jar
-rw-r--r--    1 wiblete    6704 May 21 14:00 jars/jdomExamples.jar
-rw-r--r--    1 wiblete  625687 Apr 12 16:32 jars/saxon.jar
-rw-r--r--    1 wiblete   23673 May 21 14:43 jars/saxpath.jar
-rw-r--r--    1 wiblete  116788 Feb  7 11:52 jars/sunjce_provider.jar
-rw-r--r--    1 wiblete  498757 May 17 15:02 jars/tamd.jar
-rw-r--r--    1 wiblete  801714 May 21 14:43 jars/xalan.jar
-rw-r--r--    1 wiblete 1812019 May 21 14:43 jars/xerces.jar
-rw-r--r--    1 wiblete  140445 Apr 29 14:07 jars/xml.jar

so what am i missing? i thought jaxen would be in the jar, but i can't seem to look inside:

jar tvf lib/jaxen-jdom.jar
count = 0, total = 177
count = 0, total = 9
count = 0, total = 25
java.lang.IllegalArgumentException
        at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:288)
        at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:227)
        at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:72)
        at sun.tools.jar.Main.list(Main.java:736)
        at sun.tools.jar.Main.run(Main.java:192)
        at sun.tools.jar.Main.main(Main.java:904)
$ jar tvf lib/jaxen-core.jar
count = 0, total = 177
count = 0, total = 9
count = 0, total = 25
java.lang.IllegalArgumentException
        at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:288)
        at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:227)
        at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:72)
        at sun.tools.jar.Main.list(Main.java:736)
        at sun.tools.jar.Main.run(Main.java:192)
        at sun.tools.jar.Main.main(Main.java:904)
$ jar tvf lib/saxpath.jar
count = 0, total = 177
count = 0, total = 9
count = 0, total = 25
java.lang.IllegalArgumentException
        at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:274)
        at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:227)
        at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:72)
        at sun.tools.jar.Main.list(Main.java:736)
        at sun.tools.jar.Main.run(Main.java:192)
        at sun.tools.jar.Main.main(Main.java:904)

these were just d/l'd today from http://cvs.jdom.org/cgi-bin/viewcvs.cgi/jdom/lib/
adThanxvance;-)
tom



More information about the jdom-interest mailing list