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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2016/11/04 10:06:00 UTC
[jira] [Resolved] (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 ]
Thomas Mueller resolved OAK-5064.
---------------------------------
Resolution: Fixed
http://svn.apache.org/r1767999 (trunk)
> 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.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)