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

[Bug 6311] New: [XQX11] wndowVars is optional in the XQueryX 1.1 schema

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

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

           Summary: [XQX11] wndowVars is optional in the XQueryX 1.1 schema
           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


windowVars is optional in the two definitions that reference it:

  <xsd:complexType name="windowStartCondition">
    <xsd:sequence>
      <xsd:element ref="windowVars" minOccurs="0"/>
      <xsd:element name="winStartExpr" type="exprWrapper"/>
    </xsd:sequence>
  </xsd:complexType>

  <xsd:element name="windowStartCondition" type="windowStartCondition"/>

  <xsd:complexType name="windowEndCondition">
    <xsd:sequence>
      <xsd:element ref="windowVars" minOccurs="0"/>
      <xsd:element name="winEndExpr" type="exprWrapper"/>
    </xsd:sequence>
    <xsd:attribute name="onlyEnd" type="xsd:boolean" default="false"/>
  </xsd:complexType>

  <xsd:element name="windowEndCondition" type="windowEndCondition"/>

The elements in windowVars should all be optional themselves (Bug #6310).

This means that an empty list of window variables can be written two ways:

<windowStartCondition>
   <winStartExpr>
      .
      .
      .
   </winStartExpr>
</windowStartCondition>

and

<windowStartCondition>
   <windowVars/>
   <winStartExpr>
      .
      .
      .
   </winStartExpr>
</windowStartCondition>


Perhaps the windowVars element should be required.


-- 
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:47:57 UTC

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