Yes, it is a legal schema, and yes, JAXB should support those cases.
But we have a couple of bug reports around this area, and perhaps you
are hitting one of those. If you are experiencing a problem, let us know
the details of your problem so that we can understand it better.
It could be a bug of RI.
regards,
--
Kohsuke KAWAGUCHI 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com