Is there a way to specify a regular expression pattern on an @XmlAttribute somehow through annotations? Is there a way of doing this besides validation through an external schema?
Is there a way to specify a regular expression pattern on an @XmlAttribute somehow
Share
You could use an implementation of JSR-303 which provides both annotations and an XML config file for specifying rules for bean validation: