This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
This report relates to queries in XQTS_current.zip as of 2007-01-15. In static typing implementations, /.. causes error XPST0005, because the expression is typed as the empty sequence type. There is a related error in K2-Axes-52. (:*******************************************************:) (: Test: K2-Axes-32 :) (: Written by: Frans Englich :) (: Date: 2007-01-12T16:19:58+01:00 :) (: Purpose: Apply axis '..' to the return value of fn:root(). :) (:*******************************************************:) declare variable $myVar := <e/>; empty(fn:root($myVar/(/)/..))
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.
K2-Axes-32, 33 and 52 are now fixed. Thanks.