diff --git a/specifications/xquery-40/src/expressions.xml b/specifications/xquery-40/src/expressions.xml
index 9acf04901..7861bb26c 100644
--- a/specifications/xquery-40/src/expressions.xml
+++ b/specifications/xquery-40/src/expressions.xml
@@ -18688,26 +18688,24 @@ subexpressions of the quantified expression that appear after the variable bindi
matching, a
The order in which test expressions are evaluated for the various binding
-tuples is some
, an implementation may
-return true
as soon as it finds one binding tuple for which the test expression has
-an true
, and it may raise a every
, an implementation may return false
as soon as it finds one binding tuple for which the test expression has
-an true
as soon as it finds one item for which the test expression has
+ an true
, and it may raise a every
, an
+ implementation may return false
as soon as it finds one item for which the test expression has
+ an false
, and it may raise a
Here are some examples of quantified expressions:
employee
element satisfies the given comparison expression:
In the following examples, each quantified expression evaluates its test
-expression over nine pairs of variable bindings, formed from the Cartesian
+expression over nine pairs of items, formed from the Cartesian
product of the sequences (1, 2, 3)
and (2, 3, 4)
.
The expression beginning with some
evaluates to true
,
and the expression beginning with every
evaluates to false
.
This quantified expression may either return true
or raise a true
for one variable binding
+ >type error, since its test expression returns true
for one item
and raises a
This quantified expression may either return false
or raise a false
for one variable binding and raises a false
for one item and raises a
This quantified expression returns true
, because the binding sequence
+ is empty, despite the fact that the condition can never be satisfied: