- From: <bugzilla@jessica.w3.org>
- Date: Tue, 26 Jun 2012 11:51:16 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17599
Summary: Dynamic sort order and collation for order by
Product: XPath / XQuery / XSLT
Version: Working drafts
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XQuery 3.1 Requirements and Use Cases
AssignedTo: jonathan.robie@gmail.com
ReportedBy: john.snelson@marklogic.com
QAContact: public-qt-comments@w3.org
It's often necessary to choose between sort order and collation used at
runtime, especially when implementing a GUI - which typically has toggles for
options like these. This is particularly hard to do right now, as the "order
by" syntax has these as statically determined properties of the expression. One
possible way tp do this currently is:
order by
if($asc) then $i/title else () ascending,
if($asc) then () else $i/title descending
It would be beneficial to allow an alternate form of "order by" that allows
these properties to be specified at runtime.
--
Configure bugmail: https://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 Tuesday, 26 June 2012 11:51:20 UTC