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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2015/08/21 14:13:57 UTC

[jira] [Closed] (OAK-2864) XPath backwards compatibility issue with false() and true()

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