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 2016/11/14 11:35:00 UTC

[jira] [Closed] (OAK-5064) XPath: chained conditions and union bugfix

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

Davide Giannella closed OAK-5064.
---------------------------------

Bulk close for 1.5.13

> XPath: chained conditions and union bugfix
> ------------------------------------------
>
>                 Key: OAK-5064
>                 URL: https://issues.apache.org/jira/browse/OAK-5064
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.6, 1.5.13
>
>
> The following query doesn't work right now:
> {noformat}
> /jcr:root/x[@a][@b][@c]
> {noformat}
> It would be nice to convert that to "[@a and @b and @c]" automatically. Specially to use it in "union" as follows: 
> {noformat}
> (/jcr:root/x[@a] | /jcr:root/y[@b])[@c]
> {noformat}
> Also, there is a bug in the union processing: a space before the final ")" is currently not supported.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)