Hmm, it could be that this is actually a bug, though I am not 100& sure. I do remember that somebody recently opened a Jira issue that reported a similar problem. Can you please create a new Jira issue, attach *all* relevant files and/or comments, and I will be in touch with you through the issue and/or the dev mailing list.
Regards Werner sweex wrote: > The XML that is generated is this: > > > <a1>a1</a1> > <bObject> > <a2>a2</a2> > </bObject> > <bObject> > <b1>b1</b1> > </bObject> > > > As you can see, there are two bObject tags... I want to generate the > following: > > > <a1>a1</a1> > <bObject> > <a2>a2</a2> > <b1>b1</b1> > </bObject> > > > but, how? I'll continue trying. > > Thanks, > > Regards > > > > Werner Guttmann wrote: >> What does the XML produced exactly look like ? >> >> Werner >> >> sweex wrote: >>> Thanks Werner, I understand. But, I don't get what I want. I want to >>> unify >>> the B's mapping with a2 attribute's mapping: >>> >>> class name="A" >>> field name="a1" type=... >>> field name="a2" type=... >>> bind-xml name="a2" location="bObject" node="element" >>> \field >>> field name="bObject" type="B" >>> bind-xml name="bObject" \ >>> \class >>> >>> class name="B" >>> field name="b1" type=... >>> field name="b2" type=... >>> \class >>> >>> As a result, the a2 attribute is mapped into a new bObject tag... What is >>> what I'm doing wrong? >>> >>> Thanks for all >>> >>> Regards >> >> --------------------------------------------------------------------- >> To unsubscribe from this list please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

