- From: <bugzilla@jessica.w3.org>
- Date: Tue, 08 Jun 2010 15:36:32 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9879
Summary: XQuery 1.1 tests have invalid XQueryX versions
Product: XML Query Test Suite
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XML Query Test Suite
AssignedTo: andrew.eisenberg@us.ibm.com
ReportedBy: oliver@cbcl.co.uk
QAContact: public-qt-comments@w3.org
Consider test WhereExpr020:
for $file in ($input-context//Folder)[1]/File
where true()
where false()
return $file/FileName
This has differing results for XQuery 1.0 and 1.1:
<output-file role="principal" compare="Text"
spec-version="1.1">WhereExpr020.txt</output-file>
<expected-error spec-version="1.0">XPST0003</expected-error>
However, an XQueryX version of this test exists which has two whereClauses in a
flowrExpr. In XQueryX 1.0 the query does not conform to the XQueryX schema.
Should schema validation errors be considered to be parse error for the
purposes of running the test suite, or do we need some way to annotate that the
XQueryX versions of the test only apply to XQueryX 1.1 processors?
K2-WhereExpr-1 has a similar problem.
K2-ExternalVariablesWithout-18 has an external variable with a default value
which has also been translated to an invalid XQueryX 1.0 document.
--
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 Tuesday, 8 June 2010 15:36:37 UTC