Value Comparison not according to XQuery 3.1
Opened this issue · 1 comments
mstevan commented
@mstevan
test-set: prod/ValueComp.xml
test-cases: value-comparison-5, 6, 7
@team
The following 3 test-cases are not passing and according to XQuery 3.1 they should
Input: -> Expected output:
[3] eq 3 -> true
[3] le [3] -> true
[] eq 3 -> empty
Output:
Code: [JNTY0004] (this code can be looked up in the documentation and specifications).
Location information: file:/Users/mstevan/Documents/:LINE:1:COLUMN:0:
Invalid args. Comparison can't be performed on array type
ghislainfourny commented
This is also because arrays get atomized in XQuery 3.1 (similar resolution for executing XQuery 3.1 than for function calls: insert an atomization expression in the middle in the XQuery translation visitor).