[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:
Relates
relates to YANGTOOLS-867 YANG parser should validate identity ... Resolved

 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/

 

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