sebbASF commented on PR #312: URL: https://github.com/apache/commons-validator/pull/312#issuecomment-2598105625
Given a valid IBAN, it is trivial to extract the BBAN - just drop the 4 character prefix (country code and check digits). The problem is that there is no consistency over how a BBAN is formatted, and how its check digit(s) are calculated (if indeed they are present). As I see it, the main purpose of the class is to detect transcription errors. Further validation must be done by the user application if required. As can be seen from the proposed class IBANCheckDigitCz, it is not difficult to create a validator using the existing methods provided by validator. However, finding an authoritative source for the required settings is another matter. There is also the ongoing maintenance. Even if we were able to validate BBAN check digits, that does not mean the BBAN is a valid account. The bank code and/or account code might not exist, or the account might have existed once, but is now closed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
