Community
Participate
Working Groups
Created attachment 209035 [details] Test project with schema and xml bindings file and pre-generated source code. The attached project will explain somewhat, but the situation is this. @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Calendar date; This is causing an invalid validation error: "XML element type must be a sub-type of 'java.util.Calendar'." The type String should refer to the type as it leaves the adapter but before it is marshalled, not the actual type of the field. (There is another error, but should probably be fixed in the natural course of addressing the other error.)
fixed in 3.2 M5
Shaun, is fixing this in head for M5 sufficient, or do you need a patch on 3.1?
Verified in Build I-3.4.0-20120119095402 Verified when you import the attached project and update the properties the validation errors do not appear. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.2_M5