Skip to content

Commit

Permalink
Merge pull request #109 from NASA-PDS/validate_781
Browse files Browse the repository at this point in the history
Update jparser to handle missing `object_length` in delimited tables
  • Loading branch information
jordanpadams committed Dec 8, 2023
2 parents a334f97 + 68d67f7 commit 207719e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gov/nasa/pds/label/Label.java
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ private DataObject makeTable(gov.nasa.arc.pds.xml.generated.File file, TableDeli
} else if (table.getObjectLength() != null) {
size = table.getObjectLength().getValue().longValueExact();
} else if (file.getFileSize() != null) {
size = file.getFileSize().getValue().longValue() - offset;
size = 0;
}
} else if (table.getObjectLength() != null) {
size = table.getObjectLength().getValue().longValueExact();
Expand Down

0 comments on commit 207719e

Please sign in to comment.