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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/10/02 14:25:25 UTC

[jira] [Deleted] (OAK-1068) XPath query fails on negated boolean properties

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

Alex Parvulescu deleted OAK-1068:
---------------------------------


> XPath query fails on negated boolean properties 
> ------------------------------------------------
>
>                 Key: OAK-1068
>                 URL: https://issues.apache.org/jira/browse/OAK-1068
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Alex Parvulescu
>
> The issue can be seen when running an xpath query for nodes that have a boolean property set to false:
> bq. //*[(child/@prop = 'false' or not(child/@prop))]
> this translates into 
> bq. select [jcr:path], [jcr:score], * from [nt:base] as a where [child/prop] = false or [child/prop] is null
> the second _or_ part is wrong and selects more than it should: 'or [child/prop] is null'



--
This message was sent by Atlassian JIRA
(v6.1#6144)