jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-2864) XPath backwards compatibility issue with false() and true()
Date Fri, 21 Aug 2015 12:13:57 GMT

     [ https://issues.apache.org/jira/browse/OAK-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davide Giannella closed OAK-2864.
---------------------------------

Bulk close for 1.3.4

> XPath backwards compatibility issue with false() and true()
> -----------------------------------------------------------
>
>                 Key: OAK-2864
>                 URL: https://issues.apache.org/jira/browse/OAK-2864
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Julian Sedding
>            Assignee: Thomas Mueller
>              Labels: candidate_oak_1_0, candidate_oak_1_2
>             Fix For: 1.3.4
>
>
> 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)

Mime
View raw message