Hello Castor users,

Did anyone notice this strangeness when
using "-types J2" generation option:
The generated validation code in the Descriptor
class is "fieldValidator.setMinOccurs(0)" for
fields with a minimum occurence of 1.

Example: run the SourceGenerator example 
with "-types J2" and the _optionList validation
code of the ShippingMethodDescriptor will
be fieldValidator.setMinOccurs(0) instead of
fieldValidator.setMinOccurs(1)

Vincent

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to