This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
last-2.xq reads as follows: (: Description: Evaluation of "fn:last", where the context node is not defined. :) employee[last() = 13] Today we report XPDY0002 as the employee expression relies on the context item, which is not declared. We believe this query should be modified. FYI - this is very similar to http://www.w3.org/Bugs/Public/show_bug.cgi? id=2416 which has been fixed already.
Hey Marc: Thanks for the comment. I changed the query to "last()", This should generate the correct error code as documented. Please close the bug if in agreement and when able to verify with next release. Thanks, Carmelo
verified and looks ok