[Bug 6310] New: [XQX11] positionalVariableBinding should be optiuonal in windowVars

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6310

           Summary: [XQX11] positionalVariableBinding should be optiuonal in
                    windowVars
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX 1.1
        AssignedTo: jim.melton@acm.org
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org


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.


-- 
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 Monday, 15 December 2008 01:39:21 UTC