[jboss-dev-forums] [Design of JBossXB] - Regular expresion validation for attribute
alesj
do-not-reply at jboss.com
Thu Apr 17 10:36:54 EDT 2008
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>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144882#4144882
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144882
More information about the jboss-dev-forums
mailing list