xsd:int maps to int if nillable='false'
and to java.lang.Integer if nillable='true'
The default is nillable='false'
Can you confirm that wscompile uses primitive types for nillable='false'
Looking at the Base.java and Derived.java I think nillable='false' should be removed as this is the default for primitive types.
Yes, nillable=false does not make sense at all as it is the default. Only the presence of nillable=true in the element will introduce the wrapper types like Integer etc.
I will update the fixture when I am ready to putback my latest changes (includes refactoring, migration to Xerces Schema Object Model and seperation of concerns).