I am working on a set of test cases for the schema validations here: https://github.com/pellcorp/jaxb-facets/tree/master/schemavalidation
On Tue, Nov 27, 2012 at 11:40 AM, Jason Pell <[email protected]> wrote: > Hi, > > I have gone ahead and forked the jaxb-facets project so I could create > modified jaxb-api and > jaxb-impl instead of having to ensure that the jaxb-facets dep > correctly overrides the jaxb dependencies. > > This means that anyone who wants to use the jaxb facets while awaiting > their integration into JAXB RI can. My fork is located here: > https://github.com/pellcorp/jaxb-facets > > I have a maven repo here: > > http://pellcorp.github.com/docs/maven2/releases > > You can create a dependency on the updated jaxb using: > > <dependency> > <groupId>com.sun.xml.bind</groupId> > <artifactId>jaxb-impl</artifactId> > <version>2.2.6-facets</version> > </dependency> > > And: > > <repositories> > <repository> > <id>jaxb-facets</id> > > <url>http://pellcorp.github.com/docs/maven2/releases</url> > </repository> > </repositories> > > > > On Sat, Nov 10, 2012 at 2:17 AM, Daniel Kulp <[email protected]> wrote: >> >> On Nov 9, 2012, at 6:51 AM, Jason Pell <[email protected]> wrote: >> >>> Ooh - some movement on this, with possible inclusion into jaxb itself. >>> >>> http://java.net/jira/browse/JAXB-917 >> >> That's pretty cool. :-) >> >> Dan >> >> >> >>> >>> >>> >>> On Fri, Nov 9, 2012 at 9:36 PM, Jason Pell <[email protected]> wrote: >>>> It will also include support for Decimal and Date Time validations >>>> >>>> On Fri, Nov 9, 2012 at 9:36 PM, Jason Pell <[email protected]> wrote: >>>>> I am forking this project to work on implementing a version which does >>>>> not require changes to jaxb-api. This is based on comments from Dan >>>>> Kulp ages ago. >>>>> >>>>> https://github.com/pellcorp/jaxb-facets >>>>> >>>>> If I come up with something useful I will certainly get the original >>>>> author to take a look and see if its of use. >>>>> >>>>> This fork would include any tooling necessary to merge code into the >>>>> jaxb-impl RI >>>>> >>>>> On Fri, Nov 9, 2012 at 9:05 PM, Jason Pell <[email protected]> wrote: >>>>>> Here is the thread from ages ago that I completely forgot covered the >>>>>> same ground: >>>>>> >>>>>> http://cxf.547215.n5.nabble.com/JAXB-Any-way-to-incorporate-restrictions-into-annotations-td3405878.html >>>>>> >>>>>> >>>>>> On Fri, Nov 9, 2012 at 8:48 PM, Jason Pell <[email protected]> wrote: >>>>>>> In reply to CXF-4597 .... >>>>>>> >>>>>>> >>>>>>> Check out >>>>>>> http://www.infosys.tuwien.ac.at/staff/hummer/tools/jaxb-facets.html >>>>>>> >>>>>>> Adds support for all kinds of xsd schema validation annotations. We >>>>>>> have been using this stuff for 2 years now (we extended it even >>>>>>> further to support date / datetime min / max restrictions). >>>>>>> >>>>>>> We had issues with ensuring classpath order, so for now we actually >>>>>>> hack this jaxb facets stuff into our own local copy of jaxb and deploy >>>>>>> that to our own local maven repo with a munged version to avoid a >>>>>>> clash. We then use those versions in our app instead of the cxf one. >>>>>>> >>>>>>> Works a treat. >> >> -- >> Daniel Kulp >> [email protected] - http://dankulp.com/blog >> Talend Community Coder - http://coders.talend.com >>
