krasa / krasa-jaxb-tools

XJC / JAXB plugin for generation of Bean Validation Annotations (JSR-303) and replacing primitive types
Apache License 2.0
60 stars 49 forks source link

Inner Objects not getting generated with @Valid #33

Closed srbalaji-ibs closed 9 years ago

srbalaji-ibs commented 9 years ago

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 ?

xs:sequence /xs:sequence /xs:complexType xs:sequence /xs:sequence /xs:complexType xs:sequence /xs:sequence /xs:complexType Thanks Balaji
srbalaji-ibs commented 9 years ago

Closing the issue as original issue is with Apache Bval / Spring not validating the objects inside zzDTO