Closed GuntherRademacher closed 4 months ago
Per XQuery 4, the different forms of accessing an array element, by
array:get
?
are all subject to the coercion rules with respect to the array index.
This change invokes SeqType.coerce on the key from within XQArray.getInternal.
SeqType.coerce
XQArray.getInternal
The corresponding QT4 test cases are Lookup-019a, Lookup-119a, and UnaryLookup-019a.
Lookup-019a
Lookup-119a
UnaryLookup-019a
Per XQuery 4, the different forms of accessing an array element, by
array:get
, and?
,are all subject to the coercion rules with respect to the array index.
This change invokes
SeqType.coerce
on the key from withinXQArray.getInternal
.The corresponding QT4 test cases are
Lookup-019a
,Lookup-119a
, andUnaryLookup-019a
.