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

Reply via email to