Opened 13 years ago
Closed 13 years ago
#4351 closed enhancement (fixed)
dojox.validate.isbn to validate ISBN
Reported by: | guest | Owned by: | dante |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Dojox | Version: | 0.9 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
Attached is the isbn.js that implements dojox.validate.isValidISBN. It accepts string or number and verify whether the input is a valid ISBN-10 or ISBN-13 code. Some test cases are added in dojox.validate.tests.validate for quick-n-dirty test.
Attachments (2)
Change History (6)
Changed 13 years ago by
Changed 13 years ago by
Attachment: | isbn-test.diff added |
---|
A quick-n-dirty test case for dojox.validate.isbn
comment:1 Changed 13 years ago by
Owner: | changed from Tom Trenka to dante |
---|
comment:2 Changed 13 years ago by
Cc: | [email protected]… added |
---|---|
Type: | defect → enhancement |
code comes from bookstack, who must have a CLA in place
comment:3 Changed 13 years ago by
Status: | new → assigned |
---|
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [10414]) fixes #4351 - adding dojox.validate.isbn validation checking courtesy bookstack [cla/soc champ]. adds DOH unit tests, that may or may not be validating properly (refs #4350). tests were ported from 0.4 unit tests, and all 'passed' as expected, so didn't double check forced failure. I must have set up the tests wrong, somehow.
isbn.js implements dojox.validate.isbn