[ http://jira.codehaus.org/browse/JIBX-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Sosnoski resolved JIBX-271. ---------------------------------- Resolution: Fixed Added flag-method feature and implemented code generation to use this for empty elements. > Codegen: No code generated for empty elements within choice groups > ------------------------------------------------------------------ > > Key: JIBX-271 > URL: http://jira.codehaus.org/browse/JIBX-271 > Project: JiBX > Issue Type: Bug > Components: core > Affects Versions: JiBX 1.2 beta 1 > Reporter: Nigel Charman > Assignee: Dennis Sosnoski > Fix For: JiBX 1.2 > > > I'm unable to get the code generator to generate code + bindings for empty > elements. > The original schema contains: > <xsd:element name="Accept" /> > which results in a "Warning: No type defined for element element at .." > message. > I've also tried > <xsd:element name="Accept" > > <xsd:complexType> > </xsd:complexType> > </xsd:element> > which clears up the warning, but does not create any code or bindings for the > Accept element. > This element is within a choice group. I'd ideally like to have something > like a setAccept() method that would create the empty <Accept/> element. -- 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 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ jibx-devs mailing list jibx-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-devs