aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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...
Similar Threads
Conversion of Raw Soap Response Into HTML
Bad practise? JavaBean where setX() actually should be addX()?
How to remove carriage return and linefeeds from XML files
hashmaps to xml and back
HTTP request 'GET' example