W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2008

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

From: <bugzilla@wiggum.w3.org>
Date: Mon, 15 Dec 2008 01:39:12 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-6310-523@http.www.w3.org/Bugs/Public/>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:38 UTC