Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jibx - using FLEXIBLE="TRUE" attribute in binding file

843785Jul 24 2008
hi!
i have problem using FLEXIBLE="TRUE" attribute in jibx binding file. Actually this attribute is used for ignoring extra element.

problems:
problem 1: This attribute is ignored on a collection element.
problem2: If structure is defined as below
<structure field="event" flexible="true" usage="optional">
then it gives following error

All child components must define element names for flexible='true';

so, structure element is written as follows:
<structure field="event" name="" flexible="true" usage="optional">

then this error is solved but it wont populate corrosponding field in object.

please, help me to solve these problems.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 21 2008
Added on Jul 24 2008
0 comments
538 views