You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Tom Lorenz (JIRA)" <ji...@apache.org> on 2014/01/24 13:20:38 UTC

[jira] [Closed] (VALIDATOR-328) wrong checksum calculated

     [ https://issues.apache.org/jira/browse/VALIDATOR-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Lorenz closed VALIDATOR-328.
--------------------------------

    Resolution: Invalid

Sorry, DE92360700240636079600 ist the correct IBAN for this.

> wrong checksum calculated
> -------------------------
>
>                 Key: VALIDATOR-328
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-328
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Routines
>    Affects Versions: 1.4.0 Release
>            Reporter: Tom Lorenz
>
> For the IBAN DE00360700240006360796 the checksum 62 is calculated, 92 would be correct.
> Test in groovy:
> import org.apache.commons.validator.routines.checkdigit.IBANCheckDigit;
> def ibanCheckDigit=new IBANCheckDigit();
> println ibanCheckDigit.isValid("DE92360700240006360796");
> println ibanCheckDigit.isValid("DE62360700240006360796");
> println ibanCheckDigit.calculate("DE00360700240006360796");
> Result:
> false
> true
> 62



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)