I have the following problem: Please see the following snippet:
<xs:import namespace="
http://www.atoss.com/AMF" schemaLocation="AMF.xsd"/>
<xs:annotation>
<xs:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="amf.jaxb.pmodel"/>
</jaxb:schemaBindings>
<jaxb:globalBindings generateIsSetMethod="true">
<xjc:superClass name="com.atoss.ses.amf.pmodel.base.PModelBase"/>
</jaxb:globalBindings>
</xs:appinfo>
In this schema I want all elements of the scheme to have a base class of
com.atoss.ses.amf.pmodel.base.PModelBase. This works correctly. I also
have a import of another schema (AMF.xsd). The problem is that all elements
in my imported schema also have the base class PModelBase. I don't want my
imported schema elements to have this base class. Any suggestions??
Thanks!
Benno
--
View this message in context: http://www.nabble.com/jaxb-globalbinding-and-import-tf3759430.html#a10625661
Sent from the java.net - jaxb users mailing list archive at Nabble.com.