Hi,
When I have a complexType that extends a simpleType, and the simpletype has a decimal restriction on it, then the generated class will have a @digits annotation in the wrong place. Non-numeric fields should not have this annotation.
Example
pom.xml.txt
test.xsd.txt
:
(I've attached source xsds)
Generated files is:
Correct: Amount.java:
@digits(integer = 1, fraction = 17)
protected BigDecimal value;
Incorrect: Document.java:
@digits(integer = 1, fraction = 17)
protected Amount amt;