[ 
https://issues.apache.org/jira/browse/OAK-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13879995#comment-13879995
 ] 

Thomas Mueller commented on OAK-260:
------------------------------------

There are currently 3 usages of String.toUpperCase in oak-core:

* PropertyDefinitionTemplateImpl.java (probably the English locale should be 
used)
* UpperCaseImpl (for the query condition "upper(...)")
* xpath Expression (equalsIgnoreCase can be used)

I think I'll keep it open and try to fix / document those cases.

> Avoid the "Turkish Locale Problem"
> ----------------------------------
>
>                 Key: OAK-260
>                 URL: https://issues.apache.org/jira/browse/OAK-260
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, jcr
>            Reporter: Thomas Mueller
>             Fix For: 0.16
>
>
> We currently use String.toUpperCase() and String.toLowerCase() and in some 
> cases where it is not appropriate. When running using the Turkish profile, 
> this will not work as expected. See also 
> http://mattryall.net/blog/2009/02/the-infamous-turkish-locale-bug
> Problematic are String.toUpperCase(), String.toLowerCase(). 
> String.equalsIgnoreCase(..) isn't a problem.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to