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

Sebb commented on VALIDATOR-378:
--------------------------------

As per the Javadoc [1]:

" Note: the class does not check the format of the IBAN number, only the check 
digits."

The missing leading zero does not affect the check-digit calculation.

If I remember correctly, the length of the IBAN varies between countries, and 
may potentially change.
I'm not sure it is feasible to implement further validation.

[1] 
http://commons.apache.org/proper/commons-validator/javadocs/api-1.4.1/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.html

> IBAN bank identifier with missing leading 0 
> --------------------------------------------
>
>                 Key: VALIDATOR-378
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-378
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Routines
>    Affects Versions: 1.4.1 Release
>            Reporter: Bennour
>
> The validator accepts as valid an IBAN with a missing zero in the bank 
> identifier. For example: 
> * CH59 9000 0001 7342 7712 : is valid (should not be)
> * CH59 09000 0001 7342 7712 : is valid 



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

Reply via email to