• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with Jakarta Betwixt

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a problem with Betwixt. I'm trying to map a simple xml file:



I've created two beans:

ActionsBean:


The ActionsBeans isn't null but the problem is that the ActionsBeans size is always 0.

Thanks in advance

Edit Comment: Please use UBB [ code ] tags (without he spaces when posting source code.
Thanks.

- m
[ February 08, 2006: Message edited by: Madhav Lakkapragada ]
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First, I would check if you can access the action.xml file (I see that you are catching IOException but just for sanity I would check the file).

Also, based on your source code (read: my unfamiliarity with Betwixt) I am not sure how the file is being parsed (the parse method in your source code). Make sure you are looking for "actions" element and NOT Actions or any other form of this word. XML is case-sensitive.
Thanks.

- m
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic