Allow unqualified node-identifiers in instance-identifier 49/98249/25
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>
Mon, 24 Oct 2022 13:04:41 +0000 (16:04 +0300)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Jan 2023 22:52:54 +0000 (23:52 +0100)
commit173787948ff24c4098602e351fb097a55a4ffd85
tree33884f677e553293a4bb1cae5bc95cbb1d23d299
parent45e8951a576c6bf2cb2bd0290167619b8be2fc5a
Allow unqualified node-identifiers in instance-identifier

node-identifier has an optional prefix, make sure we reflect this in our
class design.

JIRA: YANGTOOLS-1361
Change-Id: I928eabf5d2508d9be1390f7662998829cb06af81
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
xpath/yang-xpath-impl/src/main/antlr4/org/opendaylight/yangtools/yang/xpath/antlr/instanceIdentifierParser.g4
xpath/yang-xpath-impl/src/main/java/org/opendaylight/yangtools/yang/xpath/impl/InstanceIdentifierParser.java
xpath/yang-xpath-impl/src/test/java/org/opendaylight/yangtools/yang/xpath/impl/InstanceIdentifierParserTest.java