eXist-db/exist — pull request #86 by wolfgangmm (2013-11-18 14:04:39+00:00)
Title: [bugfix] using numeric operator in filter expression causes error

Example:

xquery version "3.0";

let $items :=

uuid-538a6e13-f88b-462c-a965-f523c3e02bbf
3
4

uuid-538a6e13-f88b-462c-a965-f523c3e02bbf
8
15

let $my-item := $items/*[3 - 1]/target/start/number()
return $my-item