[Bug 13147] XQuerX tests ST-Axes011 are wrong

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13147

--- Comment #3 from Michael Dyck <jmdyck@ibiblio.org> 2011-07-06 22:32:57 UTC ---
(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.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 6 July 2011 22:33:00 UTC