This content has been marked as final.
Show 1 reply
-
1. Re: Regular expresion validation for attribute
adrian.brock Apr 17, 2008 10:49 AM (in response to alesj)"alesj" wrote:
Is there a way to annotate your metadata to apply validation on attribute, e.g. the following regular expression:<xsd:simpleType name="versionType"> <xsd:restriction base="xsd:token"> <xsd:pattern value="[0-9]+(\.[0-9]+)*"/> </xsd:restriction> </xsd:simpleType>
No that is a job for schema validation not xml mapping.