I've tried giving different name space for Common.xsd
"
http://abc.xyz.com/Common", but still it's not getting the elements
from Object1.
The Adapter error i was getting was after adding this line in my xjb file:
<jaxb:globalBindings generateIsSetMethod="true">
<jaxb:javaType name="java.util.Calendar" xmlType="xs:date"
parseMethod="javax.xml.bind.DatatypeConverter.parseDate"
printMethod="javax.xml.bind.DatatypeConverter.printDate" />
</jaxb:globalBindings>
And the error message was :
package org.w3._2001.xmlschema does not exist
[javac] import org.w3._2001.xmlschema.Adapter1;
Regards,
Jyoti