Affects Version/s: 2.2.7
Fix Version/s: None
The following class:
will be serialized by JAXB to the following XML:
It is desirable to change the default element, type and property naming convention by the user e.g. one would like to have one of the following outputs (without touching CalculatorInput.java):
At this moment JAXB does not allow to customize default behavior to obtain results above.
The same problem applies when you annotate your class as @XmlType.