[ 
https://issues.apache.org/jira/browse/VALIDATOR-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472407#comment-13472407
 ] 

Haytham commented on VALIDATOR-312:
-----------------------------------

I am working on a patch that would add the new feature.
                
> 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
>              Labels: patch
>
> 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

Reply via email to