Author: sebb
Date: Tue Apr 25 10:12:26 2017
New Revision: 1792596

URL: http://svn.apache.org/viewvc?rev=1792596&view=rev
Log:
VALIDATOR-422 Document that check digit routines only validate the check digits

Modified:
    
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/package.html
    
commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/ISINCheckDigitTest.java

Modified: 
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/package.html
URL: 
http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/package.html?rev=1792596&r1=1792595&r2=1792596&view=diff
==============================================================================
--- 
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/package.html
 (original)
+++ 
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/package.html
 Tue Apr 25 10:12:26 2017
@@ -21,6 +21,9 @@
 <body bgcolor="white">
 
     <p>This package contains <i>Check Digit</i> validation/calculation 
routines.</p>
+    <p>Note that these <b>do not validate</b> the input for length or 
syntax.<br>
+       Such validation is performed by the 
org.apache.commons.validator.routines.XYZValidator classes.
+    </p>
 
 </body>
 </html>

Modified: 
commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/ISINCheckDigitTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/ISINCheckDigitTest.java?rev=1792596&r1=1792595&r2=1792596&view=diff
==============================================================================
--- 
commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/ISINCheckDigitTest.java
 (original)
+++ 
commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/ISINCheckDigitTest.java
 Tue Apr 25 10:12:26 2017
@@ -45,6 +45,7 @@ public class ISINCheckDigitTest extends
                               "AU0000XVGZA3",
                               "GB0002634946",
                               "FR0004026250",
+                                "3133EHHF3", // see VALIDATOR-422 Valid 
check-digit, but not valid ISIN
                               "DK0009763344"
                               };
         invalid = new String[] {"0378#3100"};


Reply via email to