landcast wrote:
> When I use jaxb to generate java type with xml schema, I found if the
> element in a sequence of complex type has both minOccurs="0" and
> nillable="true", it will generate the field, getter and setter with
> JAXBElement<String> instead of String, <B>is it correct</B>?
Yes, that is correct and expected.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com