[jdom-interest] jdom-1.0-rc1 samples

Joseph Bowbeer jozart at blarg.net
Fri Sep 3 15:19:34 PDT 2004

fyi - I checked out the samples.

I downloaded rc1 and built the samples.

The two filterish samples in samples/sax run fine.  (FilterTest and 


DescendantDemo throws ArrayIndexOutOfBounds exception if I just run it.  It 
could use an argcount check and a usage message.

All the other samples in samples require command line arguments, but at 
least they check for the proper number and print a usage message.


1. Most of the samples report their class as samples.whatever in their usage 
message.  That is, they're reporting that they're in the "samples" package 
when they're not.  (They are default package.)

2. I couldn't figure out what Count sample did or how to make it work.


XPathReader is the only sample that requires more than jdom.jar.  It also 
requires jaxen-core.jar, saxpath.jar and jaxen-jdom.jar.

More information about the jdom-interest mailing list