Closed glyn closed 1 year ago
@cabo I think it would still be legitimate to call the descendant selectors by that name since the values they select are all descendants of the input value. (The one exception would be if we were to allow ..
on its own, in which case the input value would be in the resultant nodelist.)
At the 2022-9-27 interim meeting there was a consensus for implementing this issue.
The current draft applies descendant selectors to the (strict) descendants of the input value. However, as mentioned in https://github.com/ietf-wg-jsonpath/draft-ietf-jsonpath-base/issues/201#issuecomment-1225065352, it would better reflect current implementations if descendant selectors applied to the input value as well as its descendants.
The comparison project has a test for this which shows a consensus among existing implementations.