Generation of XSD restrictions in a schema generated from Java JAXB annotated classes

前端 未结 3 744
北海茫月
北海茫月 2021-01-13 10:56

MOXy BeanValidation gives me the ability to add validation to my JAXB classes.

Using MOXy\'s \"Bean Validation Plugin\" I can have Bean Validation in generated JAX

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-13 11:49

    Filed a request for enhancement to process @XMLAttribute fields: Bugs Page

    The reason you need to use v2.7 is that in some unusual call trees for schema generation, the enable facets property value is not propagated down the call tree. It was fixed on May 5th. Asked for backport to EL v2.6 now.

提交回复
热议问题