- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 29 Sep 2006 14:04:03 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3777
Summary: declare variable $input-context1 external;
Product: XML Query Test Suite
Version: 1.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: XML Query Test Suite
AssignedTo: andrew.eisenberg@us.ibm.com
ReportedBy: tim@cbcl.co.uk
QAContact: public-qt-comments@w3.org
Refering to a variable declaration of the form:
declare variable $x external;
the XQuery spec states in:
http://www.w3.org/TR/xquery/#id-variable-declarations
that:
"During query analysis, the type of $x is considered to be item()*. "
Thus XQTS tests which start:
declare variable $input-context external;
and use an expression such as $input-context/.... fail typechecking, since such
an expression requires node()*, not the more general item()*.
XQTS tests should therefore be changed to use, for example:
declare variable $input-context as node()* external;
Axes001-1 is an example of such a test.
Received on Friday, 29 September 2006 14:04:10 UTC