Changes

Jump to navigation Jump to search
609 bytes added ,  04:06, 24 November 2014
==Collations==
XQuery 3.1 provides a default collation, which allows for a case-insensitive comparison of ASCII characters (<code>A new -Z</code> = <code>a-z</code>). This query returns <code>true</code>: <pre class="brush:xquery">declare default collation 'http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive';'HTML' = 'html'</pre> If the [http://site.icu-project.org/download ICU Library] is downloaded and added to the classpath, the full [Fullhttp://www.w3.org/TR/xpath-Textfunctions-31/#Caseuca-Insensitive collations Unicode Collation|CaseAlgorithm] features get available in BaseX: <pre class="brush:xquery">(: returns 0 (both strings are compared as equal) :)compare('a-Insensitive Collation]] was addedb', 'ab', which ignores the case of ASCII characters'http://www.w3.org/2013/collation/UCA?alternate=shifted')</pre>
==Pending Features==
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu