Hello Castor users,

Another strangeness I found in generated code:
The validation code generated for a member of
type <any> element does not register the FieldValidator.

Example: when generating (type option) classes for the
attached soap.xsd, the generated BodyDescriptor class
contains:
  //-- validation code for: _anyObject
   fieldValidator = new FieldValidator();
 } //-- com.sap.uddi.model.soap.BodyDescriptor()


desc.setValidator(fieldValidator) seems to be missing,
causing <Body> element contents to not be properly 
validated at run-time.

Did any one observe a similar behavior ?

Vincent

Attachment: soap.xsd
Description: Binary data

Reply via email to