Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5064

XPath: chained conditions and union bugfix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.13, 1.6.0
    • query
    • None

    Description

      The following query doesn't work right now:

      /jcr:root/x[@a][@b][@c]
      

      It would be nice to convert that to "[@a and @b and @c]" automatically. Specially to use it in "union" as follows:

      (/jcr:root/x[@a] | /jcr:root/y[@b])[@c]
      

      Also, there is a bug in the union processing: a space before the final ")" is currently not supported.

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              thomasm Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: