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 13680 - [XQuery 3.0] Duplicate variable names in window clause
Summary: [XQuery 3.0] Duplicate variable names in window clause
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 04:29 UTC by Michael Kay
Modified: 2013-06-19 08:31 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2011-08-05 04:29:50 UTC
In section 3.9.4 we read in bullet 3 "Its type is xs:integer, and its expanded QName must be distinct from the expanded QName of start-item [err:XQST0089].", and then in bullet 7 the same for the end-item.

Then at the end we read "All variables in a window clause must have distinct names; otherwise a static error is raised [err:XQST0103]."

The statements in bullets 3 and 7 appear to describe a redundant rule and an inconsistent error code.
Comment 1 Jonathan Robie 2011-09-10 16:38:13 UTC
Good catch. I deleted this text in bullets 3 and 7. Since all positional variables are of type xs:integer, I also modified that part of the wording.