whummer / jaxb-facets

Support for extended XSD features in JAXB: facets (restrictions on simple types), annotations, asserts, ...
Other
26 stars 18 forks source link

@Facets does not work with @XmlValue #2

Closed whummer closed 11 years ago

whummer commented 11 years ago

example:

@Facets(maxExclusive="840", minInclusive="-840") @XmlValue public java.math.BigInteger OffsetInMinutes;

--> Facet restrictions are not generated

pellcorp commented 11 years ago

there is a test case for this that i added and this feature definately works. is this issue just here to identify my contribution. same question for issue #1 ?

whummer commented 11 years ago

This was reported by one of our users, apparently still for the old version. Hadn't checked it before, sorry, I just wanted to document it here... thx