W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

[IndexDB] Collation Algorithm?

From: Mikeal Rogers <mikeal.rogers@gmail.com>
Date: Wed, 9 Jun 2010 14:42:29 -0700
Message-ID: <AANLkTinpU22b-f0P24zpctOWk78dLJxX-738b_zOQGGU@mail.gmail.com>
To: Webapps WG <public-webapps@w3.org>
One of the things I noticed that seems to be missing from the IndexDB
specification is the collation algorithm used for sorting the index
keys.

There are lots of collation differences between databases, if left
unspecified I'm afraid this would negatively affect interoperability
between IndexDB implementations.

CouchDB has a good collation specification for rich keys (any JSON
type) and defers to the Unicode Collation Algorithm once it hits
string comparisons. This might be a good starting point.

http://wiki.apache.org/couchdb/View_collation#Collation_Specification

http://www.unicode.org/reports/tr10/

-Mikeal
Received on Thursday, 10 June 2010 06:41:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:39 GMT