[YANGTOOLS-1357] Integrate DataNodeIdentifier with YangXPathExpression Created: 26/Oct/21  Updated: 01/Dec/21

Status: Open
Project: yangtools
Component/s: xpath
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Medium
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks YANGTOOLS-878 Add yang-data-api model of an XPath e... Confirmed

 Description   

YangXPathExpression is lacking the proper data reference type, i.e. we cannot express YANG's instance-identifier type in a reasonable form.

YANGTOOLS-878 proposes to address the translation need in terms of what is needed for NormalizedNodes, but there are two sides to that problem. And adoption of DataNodeIdentifier would help that effort, as NormalizedNodes can serve as backing store to that addressing mode, if there is a suitable translator orchestrating the two addressing modes.

As an example, search along data tree axis in a ContainerNode is union of its direct children and augmentations (and maybe choices, I always forget).


Generated at Wed Feb 07 20:55:55 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.