arturmkrtchyan / iban4j

A Java library for generation and validation of the International Bank Account Numbers (IBAN ISO_13616) and Business Identifier Codes (BIC ISO_9362).
http://iban4j.org
Apache License 2.0
271 stars 124 forks source link

Hi #1

Closed sonmezburak closed 10 years ago

sonmezburak commented 10 years ago

Hi, String iban = "BG07BINV94801402174800"; IbanUtil.validate(iban);

return false but it has to be true.

Thanks.

arturmkrtchyan commented 10 years ago

Hi,

Thanks for submitting this issue, there is a typo in iban.properties file for Bulgaria which results to this issue. I will fix it asap and will release new version.

Thanks, Artur

sonmezburak commented 10 years ago

Hi, same situation applies to Malta.

Thanks.

arturmkrtchyan commented 10 years ago

Hi,

Do you have an example case for Malta ?

Thanks, Artur

sonmezburak commented 10 years ago

Hi, Example: "MT24VALL22013000000040021772199"

Thanks, Burak

arturmkrtchyan commented 10 years ago

Hi Burak,

I checked the last example and it just passed successfully. Can you share the exception you are getting ?

Thanks, Artur

sonmezburak commented 10 years ago

Hi, I am Sorry,sent to incorrect example. :D

Thanks,

sonmezburak commented 10 years ago

Hi, When you can prepare a new Iban4j version?

Thanks,

arturmkrtchyan commented 10 years ago

Can you send exceptional example ?

arturmkrtchyan commented 10 years ago

it should be ready by tomorrow. If you really have an issue with Malta's case let me know that use-case so I can fix it as well.

sonmezburak commented 10 years ago

Thanks,

arturmkrtchyan commented 10 years ago

Hi Burak,

New version is available, check it out:

Maven dependency:

      <dependency>
          <groupId>org.iban4j</groupId>
          <artifactId>iban4j</artifactId>
          <version>1.0.1</version>
      </dependency>

Thanks, Artur

sonmezburak commented 10 years ago

Hi, Thank you for helping.