Your test in illegal XQuery: you need a "return" before the json:parse(). Once the "return" is added, the test fails with an invalid schema validation error which is correct.
This test wrong and this bug is bogus and should be closed.
Your test in illegal XQuery: you need a "return" before the json:parse(). Once the "return" is added, the test fails with an invalid schema validation error which is correct.
This test wrong and this bug is bogus and should be closed.