Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
less strict validation of email addresses
E-mail addresses are currently validated with classes provided by [commons-validator](https://commons.apache.org/validator/) when XML is read or written. This validator does not handle new top level domains (nTLD) properly. Therefore the validation is replaced by a more simple approach, that validates the e-mail address against the pattern, that is specified by IS24 in `common-1.0.xsd`. ``` <xs:simpleType name="Email"> <xs:annotation> <xs:documentation xml:lang="en">Common email address with restriction of 300 chars.</xs:documentation> <xs:documentation xml:lang="de-DE">Emailadresse mit einer 300 Zeichen Längenbegrenzung. </xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:minLength value="5"/> <xs:maxLength value="300"/> <xs:pattern value=".+@.+\..+"></xs:pattern> </xs:restriction> </xs:simpleType> ```
- Loading branch information
Showing
8 changed files
with
67 additions
and
1,029 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.