In the below mentioned xsd, for the complex type zzDTO, name and place are mandatory. Since zzDTO itself is optional inside yyDTO, the tags of name and place inside zzDTO are not getting annotated with @Valid tag. It is getting annotated properly with @NotNull.
Hi,
In the below mentioned xsd, for the complex type zzDTO, name and place are mandatory. Since zzDTO itself is optional inside yyDTO, the tags of name and place inside zzDTO are not getting annotated with @Valid tag. It is getting annotated properly with @NotNull.
Can you help me out with this ?