commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haytham (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VALIDATOR-312) Extending country code list in DomainValidator
Date Tue, 09 Oct 2012 11:56:03 GMT
Haytham created VALIDATOR-312:
---------------------------------

             Summary: Extending country code list in DomainValidator
                 Key: VALIDATOR-312
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-312
             Project: Commons Validator
          Issue Type: New Feature
          Components: Routines
    Affects Versions: 1.4.0 Release
         Environment: Java
            Reporter: Haytham


The validation of the country code in DomainValidator, used in EmailValidator, is done according
to a fixed list of country code list.

This is not practical as this list is usually updated, so the check fails for new countries
(e.g. South Sudan '.ss').

The DomainValidator is singleton with private constructor so it is not possible to subclass
it. We need to provide in someway an updated list so check will not fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message