Description
with
+ /** + * @org.apache.xbean.Property propertyEditor="org.apache.xbean.spring.example.MilliLittersPropertyEditor" + */ + public void setVolumeWithPropertyEditor(long volume) { + this.volume = volume; + }
the generated xsd needs to map the attribute type to string to allow "X ml" to be valid against the schema. Otherwise, any xml that uses the string representation and utilises the propertyEditor will not validate.