This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes Betwixt Problem... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Betwixt Problem..." Watch "Betwixt Problem..." New topic

Betwixt Problem...

Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
I'm using Betwixt to convert XML to beans and vice-versa.
I can get the conversion from beans to XML working fine, but when I try the other way, I just keep getting null returned from the BeanReader class.

Here is a sample class...

which produces the following output...

This is adapted from the sample code on the site, does anyone know what I'm doing wrong??


Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
I was using v1.3 of commons-digester, when I changed to 1.5 it fixed it!
I agree. Here's the link:
subject: Betwixt Problem...