This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The query is ($input-context1/works[1]/employee[13]) >> ($input-context1/works[1]/employee[12]/overtime[1]/day[1]/preceding::day) In fact $input-context1/works[1]/employee[12]/overtime[1]/day[1] is the first day element in the document, so preceding::day selects nothing, therefore the result of the query is an empty sequence.
Michael: Correct. Actually I changed the test to achieve the desired evaluation. Changed query to: $input-context1/works[1]/employee[13]) >> ($input-context1/works[1]/employee [12]/overtime[1]/day[2]/preceding::day). Please close the bug when able to verify. Changed test ws resubmitted. Thanks, Carmelo