Hello All,
JAXB Generated classes only capture the structural information from the XML schema that is used to generate the classes, but they ignore any additional constraints on the data e.g allowed set of values(enumerations), max value allowed etc. Does it mean that if i do not have a schema i can only validate structural information and not the constraints on the data? If so why was this not allowed with JAXB, annotations could have very well also caputred the constraints?
Best Regards,
Keshav