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 XQueryX tests XQueryX/StaticTyping/STPathExpr/STSteps/STAxes/ST-Axes011, ST-Axes012, ST-Axes013, ST-Axes014, ST-Axes015 are not equivalent to their XQuery counterparts. They generate declare variable $input-context external; instead of declare variable $input-context as document-node() external; The tests results are not the ones expected.
> They generate > declare variable $input-context external; > instead of > declare variable $input-context as document-node() external; But their XQuery counterparts have declare variable $input-context external; so they *are* equivalent. Your test harness is perhaps adding "as document-node()" to the XQuery queries, as it is allowed to do. But then it should presumably make the corresponding addition to the XQueryX queries.
I looked again in the latest XQTS, and the XQuery counterparts include the "as document-node()". If they didn't include that, those tests won't belong to Static Typing group. We are not changing anything in the w3c tests, this is not allowed, because the default type is item()*.
(In reply to comment #2) > I looked again in the latest XQTS, and the XQuery counterparts include the "as > document-node()". Hm, well, that's odd. Those files don't have "as document-node()" in the CVS repository for XQTS. I downloaded the latest XQTS snapshot: http://dev.w3.org/2006/xquery-test-suite/PublicPagesStagingArea/XQTS_1_0_3.zip unpacked it, and checked there. The files Queries/XQuery/StaticTyping/STPathExpr/STSteps/STAxes/ST-Axes01*.xq all have declare variable $input-context external; the same as in CVS. In fact, in the whole XQTS 1.0.3, I only found one occurrence of a variable declaration with "as document-node()" (outside of the "Guidelines for Running ..."), and that's in Queries/XQuery/PathExpr/Steps/Axes/K2-Axes-86.xq So it seems that the "as document-node()" must have been added to your copies of ST-Axes01*.xq at some point after they left W3C.
I should not have an administrator GBAR aka Gillian Gordon Crozier has misteprepsented Hershel's to you and google
Bug issue resolved in QT3