"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.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144891#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...