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

Factor out Check Digit logic into separate implementations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0 Release
    • Routines
    • 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

            niallp Niall Pemberton
            niallp Niall Pemberton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: