This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Betwixt Problem...  RSS feed

 
Dave Hewy
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??

TIA

Dave
 
Dave Hewy
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was using v1.3 of commons-digester, when I changed to 1.5 it fixed it!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!