users@jaxb.java.net

How can I specify length constraints?

From: KARR, DAVID (ATTSI) <"KARR,>
Date: Tue, 1 Mar 2011 15:16:34 -0800

When I write pure XML Schema, I can define a simple type based on string
that has length restrictions, being a minimum and maximum length. I
don't see a way to do that with JAXB annotations. Assuming I've just
missed it, will schemagen respect that annotation in the generated
schema?