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

[Bug 26859] orderBy63 may not test intended error conditions

From: <bugzilla@jessica.w3.org>
Date: Fri, 14 Nov 2014 16:45:07 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-26859-523-wfSk9jMdSO@http.www.w3.org/Bugs/Public/>

--- Comment #2 from Josh Spiegel <josh.spiegel@oracle.com> ---
The results of the path expression should be in document order so the order by
can still be eliminated in your version.

What about this:

      for $x in NegativeNumbers/*
      order by (if (name(.) = 'orderData') then $x else -$x)
      return $x

With expected result:

  <orderData xmlns="http://www.w3.org/XQueryTestOrderBy">-0</orderData>

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 14 November 2014 16:45:08 UTC

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