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-422) ISINCheckDigit.ISIN_CHECK_DIGIT.isValid give wrong answer for some code
Date Tue, 25 Apr 2017 10:00:09 GMT

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

Sebb commented on VALIDATOR-422:
--------------------------------

The CheckDigit routines only validate check digits.
If there are other requirements (such as a length), these must be dealt with separately.

For example, ISSNCheckDigit handles the checkdigit validation and ISSNValidator handles the
overall validation.
However there is currently no ISINValidator class.

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

Mime
View raw message