Skip to content

Commit

Permalink
Remove skip of decimal character in header data (#464)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Edgar <[email protected]>
  • Loading branch information
MikeEdgar authored Jun 4, 2024
1 parent 2e419ed commit b638202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ void handleStateHeaderData(char input) throws EDIException {
case RELEASE_CHARACTER:
break;
default:
if (!dialect.isDecimalMark(input) && !characters.isIgnored(input)) {
if (!characters.isIgnored(input)) {
buffer.put(input);
}
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public boolean accept(EDIStreamReader reader) {
void testValidSequenceXml() throws EDISchemaException, EDIStreamException {
EDIInputFactory factory = EDIInputFactory.newFactory();
InputStream stream = new ByteArrayInputStream((""
+ "ISA*00* *00* *ZZ*ReceiverID *ZZ*Sender *050812*1953*^*00501*508121953*0*P*:~"
+ "ISA*00* .. *00* .. *ZZ*ReceiverID *ZZ*Sender *050812*1953*^*00501*508121953*0*P*:~"
+ "S01*X~"
+ "S11*X~"
+ "S12*X~"
Expand Down

0 comments on commit b638202

Please sign in to comment.