[YANGTOOLS-1049] Invalid path expressions are not reported correctly Created: 22/Dec/19  Updated: 23/Dec/19  Resolved: 23/Dec/19

Status: Resolved
Project: yangtools
Component/s: parser
Affects Version/s: None
Fix Version/s: 4.0.4, 3.0.8

Type: Bug Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to YANGTOOLS-968 Add support for RFC7950 Errata 5617 l... Resolved

 Description   

Attempting to parse an expression like 'deref(../id)/../type' results in it being interpreted as a single step along child axis. This is because the Antlr grammar does not force all input to be consumed, hence we end up interpreting only 'deref'.


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