[
https://issues.apache.org/jira/browse/JCR-3443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474023#comment-13474023
]
Julian Reschke commented on JCR-3443:
-------------------------------------
a) Don't put new functions into the XPath namespace. If we add custom
functions, they need to go into a Jackrabbit-specific namespace.
b) Normalization is tricky and depends on locales. I recommend looking at
http://www.unicode.org/reports/tr10/ and what kind of support Java already has
for that.
> 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