[hibernate-issues] [Hibernate-JIRA] Commented: (HV-491) Add support for MOD11 Algorithm

Hardy Ferentschik (JIRA) noreply at atlassian.com
Fri Jan 13 10:35:10 EST 2012


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45131#comment-45131 ] 

Hardy Ferentschik commented on HV-491:
--------------------------------------

Hi George, would you mind having a look at https://github.com/hferentschik/hibernate-validator/tree/HV-491
I took your work and refactored it a little to be able to be able to reuse the work for the CreditCard constraint as well. What do you think? 

Any chance you could provide validation error messages (at least in Brazilian, but maybe some appropriate English version as well)? Also an update to the documentation would be great. With these two things in place I think we are ready to finally pull this in.



> Add support for MOD11 Algorithm
> -------------------------------
>
>                 Key: HV-491
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-491
>             Project: Hibernate Validator
>          Issue Type: Improvement
>          Components: validators
>            Reporter: George Gastaldi
>            Assignee: Hardy Ferentschik
>             Fix For: 4.3.0.next
>
>
> It would be nice to add support for the MOD11 algorithm. It is described on http://joselop.es/mod-11 or http://en.wikipedia.org/wiki/MSI_Barcode#Mod_11_Check_Digit and it is  widely used on Brazil, such as CPF (Cadastro de Pessoa Física - http://en.wikipedia.org/wiki/Cadastro_de_Pessoas_F%C3%ADsicas), CNPJ (Cadastro de Pessoa Jurídica - National Registry of Corporations) and Título de Eleitor (Voter ID card)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the hibernate-issues mailing list