[
https://issues.apache.org/jira/browse/JCR-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruslan Romanov updated JCR-1748:
--------------------------------
Description:
If you try to perform a search like this
//element(*, nt:base)[jcr:contains(., 'get\'em all')]
you get this exception
javax.jcr.query.InvalidQueryException: Lexical error at line 1, column 74.
Encountered: <EOF> after : "\')] return $v"
was:
If you try to perform a search like this
//element(*, nt:base)[jcr:contains(., 'get\'em all')]
you get this exception
javax.jcr.query.InvalidQueryException: Lexical error at line 1, column 71.
Encountered: <EOF> after : "\'] return $v"
> InvalidQueryException if search string contains escaped single quote
> --------------------------------------------------------------------
>
> Key: JCR-1748
> URL: https://issues.apache.org/jira/browse/JCR-1748
> Project: Jackrabbit
> Issue Type: Bug
> Components: query
> Reporter: Ruslan Romanov
>
> If you try to perform a search like this
> //element(*, nt:base)[jcr:contains(., 'get\'em all')]
> you get this exception
> javax.jcr.query.InvalidQueryException: Lexical error at line 1, column 74.
> Encountered: <EOF> after : "\')] return $v"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.