File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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...
jQuery in Action, 3rd edition