[ https://jira.codehaus.org/browse/JIBX-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283591#comment-283591 ]
Klaus Claszen commented on JIBX-348: ------------------------------------ Would be glad to see this change be revoked according to JIBX-449 and this [email|http://www.mail-archive.com/jibx-users%40lists.sourceforge.net/msg04744.html]. > codegen - generating <collection> in binding xml without usage=optional with > minOccurs=0 > ---------------------------------------------------------------------------------------- > > Key: JIBX-348 > URL: https://jira.codehaus.org/browse/JIBX-348 > Project: JiBX > Issue Type: Bug > Components: CodeGen > Affects Versions: JiBX 1.2.1 > Reporter: Arnabkanti > Assignee: Dennis Sosnoski > Fix For: JiBX 1.2.3 > > > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ jibx-devs mailing list jibx-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-devs