2015-12-14 13:17 GMT+01:00 Francesco Chicchiriccò <[email protected]>:
> On 14/12/2015 12:59, Romain Manni-Bucau wrote: > >> 2015-12-14 12:45 GMT+01:00 Sergey Beryozkin <[email protected]>: >> >> Hi Benson >>> >>> On 11/12/15 16:19, Benson Margulies wrote: >>> >>> https://issues.apache.org/jira/browse/CXF-6706 >>>> >>>> https://issues.apache.org/jira/browse/CXF-6705 >>>> >>>> The changes I've committed for CXF-6705 make it possible to use bean >>>> validation, but ... >>>> >>>> 1: only with hibernate >>>> 2: only with extra code to obtain the validation provider. >>>> >>>> This raises two questions. >>>> >>>> 1: should I restructure the features to split >>>> 'cxf-bean-validation-hibernate' from 'cxf-bean-validation', leaving >>>> room for bval? >>>> >>> Please, I've heard Apache BVal is less complete, but I think we should >>> keep the option open for users who would like to experiment with this >>> Apache project >>> >> Hi guys, happy to help fixing any gap there if you need. BVal passes TCKs >> so IMO it is a valid option. >> > > Hi Romain, > AFAICT, current BVal release (2012!) passes the TCK for JSR-303 (e.g. Bean > Validation 1.0), not JSR-349 (e.g. Bean Validation 1.1) > > http://bval.apache.org/downloads.html > > Am I wrong? > > Incidentally, this is the reason why we had to switch from BVal to > Hibernate Validator in Syncope, a couple of major releases ago. > > http://repo1.maven.org/maven2/org/apache/bval/bval-jsr/1.1.0/ passes 1.1 TCKs (we renamed the main artifact cause naming jsr303 a jsr349 impl was odd). Will see if I can update the website - this is one area I didnt work on yet. > Regards. > > > 2: should I put the code in place that actually makes it work, and, if >>>> so, where? I think it would be an additional bundle under 'osgi' that >>>> provided a BeanValidationProviderFactory or a >>>> ValidationProviderHelper. >>>> >>>> I guess the servicemix API spec bundle should help. >>>> >>> Hi JB, do you think a new BVal spec bundle may need to be released ? >>> >>> See https://issues.apache.org/jira/browse/SMX4-1618, in the description, >>> >>> Thanks, Sergey >>> >> > -- > Francesco Chicchiriccò > > Tirasa - Open Source Excellence > http://www.tirasa.net/ > > Involved at The Apache Software Foundation: > member, Syncope PMC chair, Cocoon PMC, Olingo PMC, CXF committer > http://home.apache.org/~ilgrosso/ > >
