Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-2052

XPath QueryFormat may produce malformed XPath statement

    Details

      Description

      When the query tree contains select properties and an order by clause, then the XPath QueryFormat will produce a malformed XPath statement.

      E.g.:

      //element(*, foo)/(@a|@b) order by @bar

      round trips to:

      //element(*, foo) order by @bar/(@a|@b)

        Activity

        Hide
        Marcel Reutegger added a comment -

        Fixed in revision: 760876

        Show
        Marcel Reutegger added a comment - Fixed in revision: 760876
        Hide
        Jukka Zitting added a comment -

        Merged to the 1.5 branch in revision 767539.

        Show
        Jukka Zitting added a comment - Merged to the 1.5 branch in revision 767539.
        Hide
        Jukka Zitting added a comment -

        Merged to the 1.4 branch in revision 816572.

        Note that in 1.4.x this fix affects jackrabbit-core, since the QueryFormat class was moved from core to spi-commons after the 1.4 release.

        Show
        Jukka Zitting added a comment - Merged to the 1.4 branch in revision 816572. Note that in 1.4.x this fix affects jackrabbit-core, since the QueryFormat class was moved from core to spi-commons after the 1.4 release.

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcel Reutegger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development