Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-213

Factor out Check Digit logic into separate implementations

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0 Release
    • Component/s: Routines
    • Labels:
      None

      Description

      Check digit validation is embedded in the specific code validations - which also includes other validations such as format or length. This proposal is to factor out the specific check digit calculation/valdiation logic into separate implementations - making them more easily tested and re-usable.

      This will include a new CheckDigit type and intially implementations for ISBN-10, EAN-13 and Luhn check digit calculation/validation

        Attachments

          Activity

            People

            • Assignee:
              niallp Niall Pemberton
              Reporter:
              niallp Niall Pemberton

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment