Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-208

Path segment without an index is not considered equal to a segment with an index of 1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.2
    • 0.2
    • Graph (2.x)
    • None

      According to JCR, a path without a same-name-sibling index should be treated equivalently to a path where the same-name-sibling indexes are all 1. For example, "/a/b/c" should be equivalent to "/a[1]/b[1]/c[1]". (See section 4.3.1 of the JSR-170 specification for details.) This is not the case with the BasicPathSegment implementation of Path.Segment.

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: