This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I suspect that the expected result of test last-23 <?xml version="1.0" encoding="UTF-8"?>Jane Doe 5 John Doe 6 Jane Doe 7 John Doe 8 Jane Doe 9 John Doe 10 Jane Doe 11 John Doe 12 Jane Doe 13 is wrong as it contains no <overtime> elements in the result. (: Name: last-23 :) (: Description: Evaluation of "last()" within a positional predicate :) (: Author: Michael Kay :) (: insert-start :) declare variable $input-context1 external; (: insert-end :) for $h in ($input-context1/works) return $h/employee[position() = 5 to last()]/overtime
Seems I failed to commit the final version of the test. Now fixed.
Thanks.
I think the XQueryX version of this query needs to be regenerated.
I regenerated all XQueryX files on Jan. 7. Please close this bur report if you find this resolution to be acceptable.