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 left hand operand to "eq" is statically typed as a zero-or-more sequence, resulting in a static type check error. (:*******************************************************:) (: Test: K-ContextPositionFunc-2 :) (: Written by: Frans Englich :) (: Date: 2006-10-05T18:29:41+02:00 :) (: Purpose: A test whose essence is: `(1, 2, 3)[if(1) then 1 else position()] eq 1`. :) (:*******************************************************:) (1, 2, 3)[if(1) then 1 else position()] eq 1
There are similar problems in K-ContextLastFunc2 and K-ContextLastFunc29.
An attempted fix has been committed to CVS, and should be part of XQTS_current.zip. Feel free to verify that the fix is acceptable, and if so, change status to CLOSED. If the attempted fix is not acceptable, reopen this report. If no opinion about this resolution is expressed within two weeks, it will be closed. Along with the fix for this report, was committed fixes for other reports as well. Also, a significant amount of new tests were added to cover missing areas and changes in the specifications.
K-ContextPositionFunc-2, K-ContextLastFunc2 and K-ContextLastFunc29 are now fixed. Thanks.