From the conversation in the castro dev mailing list:
I have another question today.
How can i handle a xsd polymorphism like described in
I cannot change the xml schema, its designed one of our costumer.
The problem is that i can create a bas complexType A1 with child-elements B and C. And complexType A2 is extends complexType A1 and then i can overwrite its child-types and/or how many the child occur.
B type="int" maxOccur="unbounded"
A2 extends A1
The problem for the source-generator is, that he generates a method for element A1.getB() returns int and for A2.getB() returns a date.
Any hints to resolve this problem? Can i use a binding file to resolve this?