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.
Activity
Dennis Sosnoski
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Dennis Sosnoski [ dsosnoski ] | |
| Affects Version/s | JiBX 1.2 [ 14415 ] | |
| Affects Version/s | JiBX 1.2 beta 1 [ 15068 ] | |
| Fix Version/s | JiBX 1.2 [ 14415 ] |
Dennis Sosnoski
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Nigel Charman
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Added flag-method feature and implemented code generation to use this for empty elements.