You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Sedding (JIRA)" <ji...@apache.org> on 2015/05/12 14:49:59 UTC

[jira] [Created] (OAK-2864) xpath backwards compatibility issue

Julian Sedding created OAK-2864:
-----------------------------------

             Summary: xpath backwards compatibility issue
                 Key: OAK-2864
                 URL: https://issues.apache.org/jira/browse/OAK-2864
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: query
    Affects Versions: 1.2.2
            Reporter: Julian Sedding


In JR2 (actually CRX 2) both of the following queries for nodes with a
boolean property can be parsed, however only query (a) returns search
results.
{noformat}
    (a) /jcr:root/test//*[@foo = true()]
    (b) /jcr:root/test//*[@foo = true]
{noformat}

On Oak 1.2, query (a) results in an exception\[0\] and query (b) returns
search results.

See discussion at http://markmail.org/thread/kpews55jpdwm62ds



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)