-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing of doubles to conform to xsd:double spec
- Loading branch information
1 parent
d2e1eaf
commit 3543ece
Showing
4 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
datahost-ld-openapi/env/test/resources/test-inputs/revision/invalid-double-column.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Year,Double,Other Double,Comment | ||
1980,100.10,11.0,this row is ok | ||
1980,101,12.0,this row has a number without a decimal in 2nd column | ||
1980,nan,12.0,this row has an invalid xsd:double NaN literal in it |
2 changes: 1 addition & 1 deletion
2
datahost-ld-openapi/env/test/resources/test-inputs/revision/one-row-invalid-double.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Year,Double,Other Double,Comment | ||
1999,100,10.0,this row has a double without a decimal point | ||
1999,nan,10.0,this row has an incorrectly formatted xsd:double NaN value in it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters