This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The XQueryX 1.1 schema contains the following: <xsd:complexType name="windowVars"> <xsd:sequence> <xsd:element name="currentItem" type="QName" minOccurs="0"/> <xsd:element ref="positionalVariableBinding"/> <xsd:element name="previousItem" type="QName" minOccurs="0"/> <xsd:element name="nextItem" type="QName" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:element name="windowVars" type="windowVars"/> This definition reflects the following XQuery 1.1 production: [51] WindowVars ::= ("$" CurrentItem)? PositionalVar? ("previous" "$" PreviousItem)? ("next" "$" NextItem)? I believe that minOccurs="0" should be added to the positionalVariableBinding element.
I agree and have made the change that you suggested. I've marked the bug FIXED. If this satisfies your comment, please mark the bug CLOSED.