JAXB code generation: how to remove a zero occurrence field?
- by reef
Hi all,
I use JAXB 2.1 to generate Java classes from several XSD files, and I have a problem related to complex type restriction.
On of the restrictions modifies the occurence configuration from minOccurs="0" maxOccurs="unbounded" to minOccurs="0" maxOccurs="0". Thus this field is not needed anymore in the restricted type. But actually JAXB…