Thanks again Vincent, I'll try it out and fix it up.

--Keith

"Figari, Vincent" wrote:
> 
> 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
> 
>   ------------------------------------------------------------------------
>                Name: soap.xsd
>    soap.xsd    Type: MEW32 File (application/x-unknown-content-type-ft000003)
>            Encoding: quoted-printable

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

Reply via email to