
Originally Posted by
garpinc2
3) I was using castor b4 and now I want to use jaxb. I have multiple packages where in the root of both packages, I have classes of the same name. With castor that wasn't a problem I just needed to specify when I receive x in xml then use class y.. i.e:
<mapping>
<description>Description of the mapping</description>
<class name="com.xxx.common.domain.xsd.java.errormessager eply.ErrorMessageReply"
auto-complete="true">
<map-to xml="ErrorMessageReply"/>
</class>
How do I do that with jaxb1