Allow alternations in the tax data, so that it is case insensitive

and allows multiple definitions of an entry (like state, city or country)
This commit is contained in:
Colin Kuskie 2008-03-07 02:16:40 +00:00
parent 50fc494759
commit 52cf8b672c
4 changed files with 64 additions and 7 deletions

View file

@ -0,0 +1,2 @@
country,state,city,code,taxRate
U.S.A.|USA,WI|Wisconsin,Madison,53701,0.5
1 country state city code taxRate
2 U.S.A.|USA WI|Wisconsin Madison 53701 0.5

View file

@ -5,5 +5,5 @@ USA,WI,,53701,0.5
USA,WI,,53702,0.5
USA,WI,,53703,0.5
USA,WI,,53704,0.5
USA,CA,,,7.25
USA|U.S.A.,CA|California,,,7.25
USA,,,97123,0.0

1 country state city code taxRate
5 USA WI 53702 0.5
6 USA WI 53703 0.5
7 USA WI 53704 0.5
8 USA USA|U.S.A. CA CA|California 7.25
9 USA 97123 0.0