The package uses a non-standard CEP checking on Correios by reading the HTML generated by the website service.
This may easily break the package if/when Correios change its layout and/or infringe legal terms.
To add free CEP consulting on a website, the proper way is using the method listed on http://www.correios.com.br/servicos/cep/cep_coloque.cfm.
To add an internal CEP consulting (not acessing Corrios website) the only way is by using the e-DNE database (http://www.correios.com.br/produtosaz/produto.cfm?id=C33CF3D4-5056-9163-89DFF3F2A0E8DA5F).
2. Re: The package uses a non-standard CEP checking on Correios by
2013-05-06 14:12:30 - In reply to message 2 from Ehinarr Elkader
- How to deal with a wrong CEP number ( do not exists, incorrect lenght, letters (A-Z)).
Not a problem to implement validation:
I've posted a different approach with a null return valu on http://pastebin.com/LXc6fE3x
- How to deal with different ways to write it (00.000-000,00000-000).
Answer: Correios do that!