W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2007

[Bug 4830] Errors for unused order by in K2-OrderbyExprWithout-8,9

From: <bugzilla@wiggum.w3.org>
Date: Thu, 28 Jun 2007 14:08:40 +0000
To: public-qt-comments@w3.org
Message-Id: <E1I3ufo-0007Lo-0T@wiggum.w3.org>


           Summary: Errors for unused order by in K2-OrderbyExprWithout-8,9
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: nick@cbcl.co.uk
         QAContact: public-qt-comments@w3.org

These queries generate FLWOR expressions with an order by, but no for loop, eg:

let $i := (1, 3, 2)
order by $i
return $i

I think they allow a response, as they don't expect the orderspec to be
evaluated as there is no for-loop to do the order by over. But I think it is
valid to still evaluate the orderspec, and hence throw an err:XPTY0004 as $i
doesn't have a single value.
Received on Thursday, 28 June 2007 14:08:55 UTC

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