[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: |
|
||||||||
| 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'. |