This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
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.