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

[Bug 6242] New: [XQuery11UC] windowing use case Q3: spurious "at"

From: <bugzilla@wiggum.w3.org>
Date: Wed, 19 Nov 2008 23:13:40 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-6242-523@http.www.w3.org/Bugs/Public/>

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

           Summary: [XQuery11UC] windowing use case Q3: spurious "at"
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 1.1 Use Cases
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: xfranc@online.fr
         QAContact: public-qt-comments@w3.org


The "at" declarations do not make sense and lead to type errors,
as $x and $y are bound to integer values:

  start at $x when $x[self::dt]
  end at $y next $z when $y[self::dd] and $z[self::dt]

The correct query seems to be:

for tumbling window $w in $seq/doc/*
  start $x when $x[self::dt]
  end $y next $z when $y[self::dd] and $z[self::dt]
return ...


-- 
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 Wednesday, 19 November 2008 23:13:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:25 UTC