ONSdigital / csvw-check

A CLI to validate CSV-Ws (W3C's CSV on the Web standard).
Apache License 2.0
1 stars 1 forks source link

Issue with number format exponent optional digit #76

Closed josepajay closed 3 years ago

josepajay commented 3 years ago

Numeric format pattern used in test 158 #0.###E#0

ICU IBM library throws an exception for this pattern,

Unquoted special character at position 7

This is due to the # occurring after E.

This part in unicode documentation explains about maximum and minimum digits in scientific notation. This is not entirely clear and we couldn't verify this with icu ibm library.

Investigate if the pattern in test 158 is valid as per unicode spec and make changes to the existing code if required.

As of now we have decided to strip off any # character after E. We hope this will fix the test for now.

josepajay commented 3 years ago

Also see issue 155