Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 39C6FDED4 for ; Thu, 11 Oct 2012 10:45:04 +0000 (UTC) Received: (qmail 79772 invoked by uid 500); 11 Oct 2012 10:45:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 79728 invoked by uid 500); 11 Oct 2012 10:45:03 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 79690 invoked by uid 99); 11 Oct 2012 10:45:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 10:45:02 +0000 Date: Thu, 11 Oct 2012 10:45:02 +0000 (UTC) From: "Julian Reschke (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <521434763.25539.1349952302813.JavaMail.jiratomcat@arcas> In-Reply-To: <695708416.21096.1349892063794.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (JCR-3443) Normalize String properties when ordering query results MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3443?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D134740= 23#comment-13474023 ]=20 Julian Reschke commented on JCR-3443: ------------------------------------- a) Don't put new functions into the XPath namespace. If we add custom funct= ions, they need to go into a Jackrabbit-specific namespace. b) Normalization is tricky and depends on locales. I recommend looking at h= ttp://www.unicode.org/reports/tr10/ and what kind of support Java already h= as for that.=20 =20 > 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=C3=A9dric 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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira