This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
OrderExpr-3 reads: ordered {$input-context//part[@partid < 2]/fn:last()} the result of this must be a sequence of integers, yet the results provided are element nodes. Also affects OrderExpr-4. OrderExpr-7 and OrderExpr-8 call fn:first() which is a syntax error, there is no such function. OrderExpr-15 calls fn:subsequence((1,2,3,4),2,3) which returns a sequence of length 3 namely (2,3,4), not (2,3) as given. Similarly OrderExpr-16 OrderExpr-17 is described in the catalog as returning OrderExpr-15.txt, which is not the correct result (the sequence hasn't been reversed).
Perhaps ordered {$input-context//part[@partid < 2]}/fn:last() was intended?
fixed tests 15-17. For now, removed tests 3/4/7/8 as they are not very meaningful, will add new tests instead.
Andreas, tests OrderExpr-15/17 are still wrong in the 0.8.0 version of the test suite Alberto
I agree with Alberto - 15-17 are still wrong.
Yes, I didn't commit the files in CVS.