You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Cédric Damioli (JIRA)" <ji...@apache.org> on 2012/10/10 20:03:03 UTC

[jira] [Updated] (JCR-3443) Normalize String properties when ordering query results

     [ https://issues.apache.org/jira/browse/JCR-3443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cédric Damioli updated JCR-3443:
--------------------------------

    Attachment: normalize.patch

Attached is a first patch adding the fn:normalize XPath function

So far, I've only been working on the XPath part, but I may provide a patch for SQL as well
                
> Normalize String properties when ordering query results
> -------------------------------------------------------
>
>                 Key: JCR-3443
>                 URL: https://issues.apache.org/jira/browse/JCR-3443
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core, query
>            Reporter: Cédric Damioli
>         Attachments: normalize.patch
>
>
> Properties containing non-ASCII characters are not well collated in query results
> There's only two allowed functions so far in XPath (fn:lower-case and fn:upper-case). There exists the equivalent LOWER and UPPER in SQL
> I propose to add a fn:normalize (resp NORMALIZE) function giving expected results

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira