(This kind of questions is best sent to users_at_jaxb.dev.java.net)
Andrea Smyth wrote:
> Is this really intentional - I can't find anywhere in the spec where it
> says so, but comments in the code
> (com.sun.tools.xjc.generator.bean.field.SingleField.java) seem to
> suggest so?
This is intentional, even though whether that was a good idea to begin
with is debatable. I think there's some discussion about this in the
archive of the users list.
And since we can't break existing applications that rely on this
behavior, we can't really change the behavior either.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com