Example marshalling/unmarshalling not working

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Example marshalling/unmarshalling not working

Kirill Grouchnikov
Hi,

I've tried the sample code from the Betwixt documentation,
and it produces the following output:

<?xml version='1.0' ?>  <person>
    <age/>
    <name/>
  </person>

0 [main] WARN io.BeanReader  - Could not create instance of
type: org.jvnet.bindmark.CheckBetwixt$PersonBean
16 [main] INFO io.BeanReader  - Cannot pop options off
empty stack
null

The marshalling does not pick up the values, and the
unmarshalling fails. I've attached the code i'm running
(the main function performs both marshalling and
unmarshalling).

Kirill

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

attachment0 (4K) Download Attachment