This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9377 - test cases with XQuery 1.1 syntax
Summary: test cases with XQuery 1.1 syntax
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-31 18:56 UTC by Andrew Eisenberg
Modified: 2010-04-06 20:04 UTC (History)
0 users

See Also:


Attachments

Description Andrew Eisenberg 2010-03-31 18:56:55 UTC
We have long had test cases that test for implementations that stray beyond XQuery 1.0 syntax (scenario parse-error). Some of these test cases are now valid instances of XQuery 1.1: 

WhereExpr020
K2-WhereExpr-1
K2-ExternalVariablesWithout-18

Consider WhereExpr020:

for $file in ($input-context//Folder)[1]/File
where true()
where false()
return $file/FileName


I suggest that these test cases be changed to the standard scenario and allow both an expected result and error XPST0003.
Comment 1 Andrew Eisenberg 2010-04-06 20:03:49 UTC
I've changed these test cases to the standard scenario and allow both an expected result (spec-version="1.1") and error XPST0003 (spec-version="1.0").