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 2017/04/25 10:14:04 UTC

[jira] [Resolved] (VALIDATOR-422) ISINCheckDigit.ISIN_CHECK_DIGIT.isValid give wrong answer for some code

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

Sebb resolved VALIDATOR-422.
----------------------------
    Resolution: Not A Problem

Add some Javadoc to clarify scope of check-digit routines

URL: http://svn.apache.org/viewvc?rev=1792596&view=rev
Log:
VALIDATOR-422 Document that check digit routines only validate the check digits

Modified:
    commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/package.html
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/ISINCheckDigitTest.java


> ISINCheckDigit.ISIN_CHECK_DIGIT.isValid  give wrong answer for some code 
> -------------------------------------------------------------------------
>
>                 Key: VALIDATOR-422
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-422
>             Project: Commons Validator
>          Issue Type: Bug
>    Affects Versions: 1.5.1, 1.6
>            Reporter: Zhang, Lizeng
>
> I use "ISINCheckDigit.ISIN_CHECK_DIGIT.isValid" to check whether a code is ISIN.  But wrong result found during my test.  For example "3133EHHF3" can pass the check while it is apparently not an ISIN code. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)