We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@mstevan test-set: not.xml test-cases: fn-not-5 to fn-not-16
@team Not behaves weirdly when having two not calls within same query. not("true") or not("true") for example works but not("true") eq not("true")
List of operators to test with because it throws exception: Eq,ne,lt,le,gt,ge,=,!=,<,<=,>,>=
Input: not("true") eq not("true")
Output: ⚠️ ️There was an error.
Code: [XPST0017] (this code can be looked up in the documentation and specifications).
Location information: file:/Users/mstevan/Documents/:LINE:1:COLUMN:15:
Undefined function call; Entered function name and arity doesn't match a defined function signature: "not" called with 1 parameters.
Expected output: true
The text was updated successfully, but these errors were encountered:
That's because in JSONiq not is a prefix operator, not a function call.
When serializing back from XQuery to JSONiq, extra parentheses should be added:
(not "true") eq (not "true")
Sorry, something went wrong.
No branches or pull requests
@mstevan
test-set: not.xml
test-cases: fn-not-5 to fn-not-16
@team
Not behaves weirdly when having two not calls within same query.
not("true") or not("true") for example works but not("true") eq not("true")
List of operators to test with because it throws exception:
Eq,ne,lt,le,gt,ge,=,!=,<,<=,>,>=
Input:
not("true") eq not("true")
Output:
⚠️ ️There was an error.
Code: [XPST0017] (this code can be looked up in the documentation and specifications).
Location information: file:/Users/mstevan/Documents/:LINE:1:COLUMN:15:
Undefined function call; Entered function name and arity doesn't match a defined function signature: "not" called with 1 parameters.
Expected output:
true
The text was updated successfully, but these errors were encountered: