Built-in collations
Wednesday, 21 August 2019 · 2 messages
ZD
Zimmel, Daniel21 Aug 2019 09:11 #
Hi,
I found out that after adding the third-party jar to the classpath as described here (http://docs.basex.org/wiki/XQuery_3.1#Collations), I can finally alphanumeric-sort my
map:keys: map:keys($map_ev) => sort('http://www.w3.org/2013/collation/UCA?lang=de;numeric=yes')Which I like a lot.
Are there any plans on having this already shipped with BaseX in future releases?
Thanks, Daniel
CG
Christian Grün21 Aug 2019 12:36 #
Hi Daniel,
We try to keep our distributions as small as possible, and adding the UCI library to our distribution would double the file size of the resulting archive. The same accounts for various other libraries that could potentially be added.
If you use the EXE distribution, and if you copy custom JAR files to the lib/custom/ directory, the libraries will be preserved after updates.
Hope this helps,
Christian
Quoted text · Daniel · 12 lines
On Wed, Aug 21, 2019 at 9:11 AM Zimmel, Daniel <D.Zimmel at esvmedien.de> wrote: > > Hi, > > I found out that after adding the third-party jar to the classpath as described here (http://docs.basex.org/wiki/XQuery_3.1#Collations), I can finally alphanumeric-sort my map:keys: > > map:keys($map_ev) => sort('http://www.w3.org/2013/collation/UCA?lang=de;numeric=yes') > > Which I like a lot. > Are there any plans on having this already shipped with BaseX in future releases? > > Thanks, Daniel
Written for BaseX 9.2. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery