[
https://issues.apache.org/jira/browse/JCR-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting updated JCR-1248:
-------------------------------
Component/s: (was: jackrabbit-core)
(was: query)
jackrabbit-jcr-commons
Priority: Minor (was: Major)
Affects Version/s: (was: 1.3.3)
Issue Type: New Feature (was: Bug)
This turned out to be implemented as a new feature in jcr-commons, changing
issue metadata accordingly.
I guess the original problem (ParseException) is the expected (though
undocumented) behavior, so there's no need to fix this for clients that don't
use the new helper method.
> Helper Method to escape illegal XPath Search Term
> -------------------------------------------------
>
> Key: JCR-1248
> URL: https://issues.apache.org/jira/browse/JCR-1248
> Project: Jackrabbit
> Issue Type: New Feature
> Components: jackrabbit-jcr-commons
> Reporter: Claus Köll
> Assignee: Claus Köll
> Priority: Minor
> Fix For: 1.5.0
>
> Attachments: patch.txt
>
>
> 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.