OK, but your schema is not written to allow the instance you wrote.
You probably should study it a bit more. In particular I recommend you
use a validator or a tool to check if your schema is indeed capturing
your intention.
In that way you can separate JAXB issues from your schema issues.
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net