This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In: (for $fo in (1, 2, 3) where $fo eq 3 return $fo) eq 3 The static type of: (for $fo in (1, 2, 3) where $fo eq 3 return $fo) is a sequence. The operator is expecting zero-or-one. A similar problem arises in the K-WhereExpr-2.
*** This bug has been marked as a duplicate of bug 3971 ***