You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tariq Shadid (JIRA)" <ji...@apache.org> on 2012/09/25 14:52:07 UTC

[jira] [Created] (JCR-3431) Jackrabbit XPath query throws exception after ugrade to JR 2.4.2

Tariq Shadid created JCR-3431:
---------------------------------

             Summary: Jackrabbit XPath query throws exception after ugrade to JR 2.4.2
                 Key: JCR-3431
                 URL: https://issues.apache.org/jira/browse/JCR-3431
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: xpath
    Affects Versions: 2.4.3, 2.4.2
            Reporter: Tariq Shadid


We are currently working on upgrading Jackrabbit from 1.6.5 to 2.4.2/2.4.3 on our system. we are facing problems on some XPath queries that used to work on the 1.6.5 perfectly, and now it throws javax.jcr.query.InvalidQueryException exception on 2.4.2 - do Jackrabbit changed the way how it parse the XPath queries?

the query is:

//programs//*[child::*/@sunday]

on version 1.6.5 it was working

and on 2.4.2 returns:

null for statement: for $v in //programs//*[child::*/@sunday] return $v



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira