jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-1085) Compatibility for queries with not(child/@prop) conditions
Date Wed, 09 Oct 2013 12:22:42 GMT

    [ https://issues.apache.org/jira/browse/OAK-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790292#comment-13790292

Thomas Mueller commented on OAK-1085:

Providing compatibility for Jackrabbit 2.x is a bit complicated because currently. The XPath
condition {{//*[not(child/@prop)]}} is converted to {{[a].[child/prop] is null}}, but this
is then converted to {{not ([a].[child/prop] is not null)}} while parsing, as there is only
a PropertyExistence check but no PropertyInexistence constraint.

> Compatibility for queries with not(child/@prop) conditions
> ----------------------------------------------------------
>                 Key: OAK-1085
>                 URL: https://issues.apache.org/jira/browse/OAK-1085
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
> Oak behaves differently than Jackrabbit 2.x for queries for queries that contain conditions
of the form {{not(relative/@prop)}}. While Jackrabbit only returns nodes that do have a child
node called "relative" (but that node doesn't have a property called "prop"), Oak additionally
returns all nodes where there is no child node "relative".

This message was sent by Atlassian JIRA

View raw message