You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2015/11/05 02:28:27 UTC

[jira] [Commented] (VALIDATOR-325) Improve IBAN validation with format checks

    [ 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)