afrunt / jach

Java library for reading and writing ACH/NACHA documents
Apache License 2.0
44 stars 37 forks source link

Validation of constant values fail if case differs #29

Open jhamsle opened 2 years ago

jhamsle commented 2 years ago

The Fed seems to be okay with lowercase values for items, such as files using IAT transaction type code 'mis' even though documentation lists 'MIS'. All documentation I've seen cites upper case only, but the documentation itself does not specify if upper case is required, and the Fed itself doesn't reject files using lowercase, so I must assume they're okay.

I'm open to other ways to fix this. I figured this would address the issue in any possible logic with any possible object, which potentially is overreaching. Perhaps I should've included this for classes using @Values, too.