users@jaxb.java.net

Re: jaxb and size

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 28 Feb 2007 15:38:07 -0800

Henri Gomez wrote:
> Hi to all,
>
> How could we specify via JAXB limit in strings ?
>
> For instance, I need to indicate in my wsdl (I'm using JAX WS 2.1)
> that some strings shouldn't me more than X chars long.
>
> I didn't see how I could set this property using annotations and
> advice is very welcome.

I think there has been discussion about coming up with a set of "facet"
annotations, then modifying the RI (or do it as a side project) to
generate a proper schema that reflects that.

Currently the project is looking for volunteer...

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com