Hi,
I have binding defined with structure inside of element like this:

<mapping name="ProductTypeLne" class="com.aaa.ProductTypeLne">
  <structure field="codeDataType" map-as="com.aaa.CodeDataType" /> 
</mapping>

<mapping name="FtGetProductTypeListRes"
class="com.aaa.FtGetProductTypeListRes">
  <structure map-as="com.aaa.WMResponse" name="HeaderRes" usage="required"
/> 
 <structure name="ProductTypeLst" usage="optional">
  <collection item-type="com.aaa.ProductTypeLne" field="productTypeLne"
usage="optional" /> 
  </structure>
 </mapping>

So when I'm trying to test round trip on xml that does not have
ProductTypeLst element
it fails, because Jibx marshalling places empty ProductTypeLst in the xml
and
documents are not equal. Is it possible to turn off placing the empty
element ?

Thanks a lot


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to