jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Damioli (JIRA) <j...@apache.org>
Subject [jira] [Updated] (JCR-3443) Normalize String properties when ordering query results
Date Fri, 12 Oct 2012 10:43:03 GMT

     [ 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

I've modified the patch to name the function rep.normalize

If you think that my proposal is actually not enough ambitious for being called "normalization",
do you prefer something like rep:toASCII, which may seem less universal ?

I really think there is an added value with this function for Jackrabbit users, I personnally
use it with every String-ordered query.
                
> 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

Mime
View raw message