cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Pell <ja...@pellcorp.com>
Subject Re: Extended JAXB facet validations
Date Fri, 09 Nov 2012 10:05:22 GMT
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 <jason@pellcorp.com> 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.

Mime
View raw message