jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruslan Romanov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1748) InvalidQueryException if search string contains escaped single quote
Date Sun, 21 Sep 2008 10:23:44 GMT

     [ 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.


Mime
View raw message