Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-843

XPath does not work with sub-axes

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.3
    • None
    • jackrabbit-core, query
    • None
    • Windows XP

    Description

      XPath expressions return false positives when using sub-axes. e.g.

      with this repository (not pertinent things removed)
      <jcr:root>
      <foo>
      <kv k="bar" v="shell" />
      </foo>
      </jcr:root>

      the XPath expression "/jcr:root/foo[kv[k='bar'][v='notShell']]"

      returns the node (when it should not do so.)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            lgalfaso Lucas Galfaso

            Dates

              Created:
              Updated:

              Slack

                Issue deployment