Ouch, this is a terrible bug. I confirmed the behavior. I'll investigate
why this is happening.
> Is there any workaround for this?
Meanwhile, the workaround is to have an extra <sequence> around
<element> and attach the customization to that node.
Like this:
<xs:sequence>
<xs:annotation><xs:appinfo>
<jxb:property name="OtherElementList"/>
</xs:appinfo></xs:annotation>
<xs:element ref="GlobalElement" maxOccurs="unbounded" />
</xs:sequence>
regards,
--
Kohsuke KAWAGUCHI 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com