xlate / staedi

StAEDI - Streaming API for EDI: Java library featuring a reader/parser, writer/generator, and validation
Apache License 2.0
126 stars 35 forks source link

dots in an element in the ISA results in ELEMENT_OCCURRENCE_ERROR #463

Closed cpotter1 closed 4 months ago

cpotter1 commented 5 months ago

ISA*00*..........*00*..........*ZZ* *ZZ* *130510*1147*^*00501*111114280*0*P*:~

The above results in an error. Seems like dots/periods should be valid and not result in an error.

MikeEdgar commented 5 months ago

Thanks for the issue @cpotter1. The parser has been skipping the decimal separator in the header segment since the beginning, but I don't think there's a valid reason for it. PR #464 removes that.

MikeEdgar commented 4 months ago

Fixed in release 1.25.1