Path segment without an index is not considered equal to a segment with an index of 1
--------------------------------------------------------------------------------------
Key: DNA-220
URL:
https://jira.jboss.org/jira/browse/DNA-220
Project: DNA
Issue Type: Bug
Components: SPI
Affects Versions: 0.2
Reporter: Randall Hauch
Assignee: Randall Hauch
Fix For: 0.2
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira