Try: <value style="text" field="value" usage="optional"/>
instead. -Archie On Thu, Aug 19, 2010 at 4:12 PM, Steel City Phantom <[email protected]>wrote: > my xml tag looks like this > > <street line="1">1 compliant</street> > > i tried the binding > > <mapping name="street" class="com.show.comm.ncc.Street" > > <value style="attribute" name="line" field="line" usage="optional"/> > <value style="element" field="value" usage="optional"/> > </mapping> > > with the class > > public class Street > { > public String line; > public String value; > } > > with no luck, what am i doing wrong here? my error says the required field > "name" isn't present on my element, but how would i bind this since there is > no child element? > -- > You want it fast, cheap, or right. Pick two!! > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > jibx-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jibx-users > > -- Archie L. Cobbs
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users
