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

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