Details
Description
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.
Added flag-method feature and implemented code generation to use this for empty elements.