sitemule / noxDB

Not only XML. SQL,JSON and XML made easy for IBM i
MIT License
42 stars 20 forks source link

Parsing invalid positive floating number #45

Open m1h43l opened 3 years ago

m1h43l commented 3 years ago

The JSON spec does specify that positive numbers should not have a leading plus sign. Only minus is specified as a sign.

Note: jx_error didn't return an error.

Unit test NOXDBUT1 test case TEST_INVALID_POSITIVE_FLOAT. Test file: unittests/data/parser/test25-invalid-positive-float.json

Though one could argue that this is just a minor thing and might be seen as a feature and not as a bug ;-) .