|
Hi, I have an issue while marshalling a nested optional element: The binding structure is as following: <structure
name="a" usage="optional"> <structure
name="b" usage="optional"> <value
name="c"
get-method="getC"
set-method="setC"
style="element"
usage="optional"/> </structure> </structure Xml with non-null C
property: <root> <a> <b>
<c>somevalue</c> </b> </a> <something> iiiii
</something> </root> Xml with null c property: <root> <something> iiiii
</something> </root> If c element is null, the
expectation is neither tags <a>, <b> nor <c> shouldn’t
showed up. However, this is being
return after marshalling: <root> <a><b/></a> <something> iiiii
</something> </root> Please advice. Thanks |
- [jibx-users] optional element show up on marshalling Gia Ne
- Re: [jibx-users] optional element show up on marshall... Dennis Sosnoski
