jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Deleted] (OAK-1068) XPath query fails on negated boolean properties
Date Wed, 02 Oct 2013 12:25:25 GMT

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

Mime
View raw message