[YANGTOOLS-863] YANG parser should validate statement argument validity Created: 14/Mar/18 Updated: 19/Mar/18 Resolved: 16/Mar/18 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.3 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
We currently allow invalid arguments to propagate through the system, like "container foo:foo". These are clearly violating RFC6020/RFC7950 and should not be allowed. This will eliminate users for StmtContextUtils.qnameFromArgument(), which is very permissive and quite slow. |
| Comments |
| Comment by Robert Varga [ 15/Mar/18 ] |
|
https://git.opendaylight.org/gerrit/#/c/69485/
|