users@jaxb.java.net

Re: marshlling problem

From: <JMedina_at_on.com>
Date: Mon, 25 Aug 2003 13:53:43 +0200

I'm not the expert but the answer "yes". JAXB can't marshall elements that
are not root elements.

You may need to declare the elements you want to marshall as root elements,
and use references on them.




                                                                           
             "Amila
             Suriarachchi"
             <amilas_at_eurocente To
             r.lk> <users_at_jaxb.dev.java.net>
                                                                        cc
             08/25/2003 10:50
             AM Subject
                                       marshlling problem
                                                                           
             Please respond to
             users_at_jaxb.dev.ja
                  va.net
                                                                           
                                                                           




when marshlling a jaxb objcet structure form an element


(except root) it does not show the top level element


in the resulting xml file.


is this a jaxb problem?










graycol.gif
(image/gif attachment: graycol.gif)

pic15724.gif
(image/gif attachment: pic15724.gif)

ecblank.gif
(image/gif attachment: ecblank.gif)