jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1248) ParseException if search string ends with '!'
Date Fri, 30 Nov 2007 14:31:44 GMT

    [ https://issues.apache.org/jira/browse/JCR-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547155

Marcel Reutegger commented on JCR-1248:

In addition to the already specified set of special character in JSR 170, Jackrabbit uses
more of those characters for extended functionality.

This set of characters should be limited to the ones really required (e.g. ! is equivalent
to -) and clearly documented. It would be nice to also have a utility class that automatically
escapes the special characters used in Jackrabbit.

> ParseException if search string ends with '!'
> ---------------------------------------------
>                 Key: JCR-1248
>                 URL: https://issues.apache.org/jira/browse/JCR-1248
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 1.3.3
>            Reporter: Claus Köll
> If you try to perform a search like this
> //element(*, nt:base)[jcr:contains(., 'test!')]
> you get this exception
> javax.jcr.RepositoryException: Exception building query: org.apache.jackrabbit.core.query.lucene.fulltext.ParseException:
Encountered "<EOF>" at line 1, column 6.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message