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:00:09 UTC
[jira] [Commented] (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: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)