sitemule / noxDB

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

Parsing invalid unicode sequence results does result in error #46

Open m1h43l opened 3 years ago

m1h43l commented 3 years ago

Parsing an invalid unicode sequence results in an incomplete value. Not just the invalid character is missing but also the rest of the value.

{ "string" : "text \u00GG text" } results in { "string" : "text " }

Note: jx_error didn't return an error.

Unit test NOXDBUT1 test case TEST_INVALID_UNICODE_SEQUENCE. Test file: unittests/data/parser/test20-invalid-unicode-sequence.json