codegen - generating <collection> in binding xml without usage=optional with 
minOccurs=0
----------------------------------------------------------------------------------------

                 Key: JIBX-348
                 URL: http://jira.codehaus.org/browse/JIBX-348
             Project: JiBX
          Issue Type: Bug
          Components: CodeGen
    Affects Versions: JiBX 1.2.1
            Reporter: Arnabkanti


codegen is generating binding xml with <collection> element having no 
usage=optional even when the minOccurs is set to zero (maxOccurs=unbounded)

XSD Snippet:
<xsd:complexType name="ABC">
                <xsd:sequence>
                        <xsd:element type="test:xxT" name="xx"
                                minOccurs="0" maxOccurs="unbounded" />
               </xsd:sequence>
</xsd:complexType>

binding Xml:

 <collection get-method="getXxs" set-method="setXxs">
      <structure map-as="ns2:xxT" name="xx"/>
    </collection>


Thanks,
Arnab


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to