You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (Commented) (JIRA)" <ji...@apache.org> on 2011/11/28 10:08:40 UTC

[jira] [Commented] (JCR-3157) Relax handling of apostrophe in GQL

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

Marcel Reutegger commented on JCR-3157:
---------------------------------------

Applied patch in revision: 1207025
                
> Relax handling of apostrophe in GQL
> -----------------------------------
>
>                 Key: JCR-3157
>                 URL: https://issues.apache.org/jira/browse/JCR-3157
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-3157.patch
>
>
> The apostrophe character is currently considered noise and ignored. Since the apostrophe character is quite common in many languages and treated special in the analyzer, the GQL parser should not ignore it. The apostrophe can safely be put into a contains clause given that it is properly escaped with a backslash. See http://www.day.com/specs/jcr/1.0/6.6.5.2_jcr_contains_Function.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira