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
When querying the following JSON (using the sirix rest-api):
[{"key": "hey"}, {"key": 0}]
with the following query:
for $i in bit:array-values(.) where $i=>key instance of xs:integer and $i=>key eq 0 return $i
I get the following error:
Cannot compare 'xs:string' with 'xs:integer'
However, the AndExpr should short-circuit after evaluating key to not be an instance of xs:integer, rather than throwing an error.
key
It should be noted that the following query:
for $i in bit:array-values(.) where $i=>key eq 0 and $i=>key instance of xs:integer return $i
returns:
{'key': 0}
so it appears that the order of the AndExpr is being reversed.
The text was updated successfully, but these errors were encountered:
Fixed :-)
Sorry, something went wrong.
No branches or pull requests
When querying the following JSON (using the sirix rest-api):
with the following query:
I get the following error:
However, the AndExpr should short-circuit after evaluating
key
to not be an instance of xs:integer, rather than throwing an error.It should be noted that the following query:
returns:
so it appears that the order of the AndExpr is being reversed.
The text was updated successfully, but these errors were encountered: