commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VALIDATOR-325) Improve IBAN validation with format checks
Date Thu, 05 Nov 2015 01:28:27 GMT

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

Sebb commented on VALIDATOR-325:
--------------------------------

If the format validation class is implemented, it will need a way to add new formats (and
possibly to update existing ones).

The class could have a method to check if there is a format for the country, and perhaps return
it.
This would allow code to know if validation failure is due to a missing format (or indeed
not attempt validation if the country is not known)

> Improve IBAN validation with format checks
> ------------------------------------------
>
>                 Key: VALIDATOR-325
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-325
>             Project: Commons Validator
>          Issue Type: New Feature
>            Reporter: Wim Vleugels
>         Attachments: IBANValidator.java
>
>
> When I try to validate an incorrect belgian IBAN code "BE7436302152834", than it passes
the validation without any problem although even the length of the code is invalid.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message