Is it possible to check the value in a java object with some rules in xml schéma?
For example, I have String txt = "blablabla" , and I have to check if this is normal for <xs:element name="foo" type="string32"/> , and string32 is a limit of 32 caract. length max.
Is it possible? If this is not possible with xml schema and jaxb, is there a possible variant of langage schema?
Thanks.
source share