[YANGTOOLS-550] Parser accepts invalid models Created: 18/Nov/15 Updated: 10/Apr/22 Due: 03/Dec/15 Resolved: 18/Dec/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Filip Gregor |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||||||||||||||||||||||
| External issue ID: | 4646 | ||||||||||||||||||||||||||||
| Description |
|
yang/yang-parser-impl/src/test/resources/type-tests/types.yang contains: leaf leaf-decimal64 { } which clearly violates RFC6020, yet the parser accepts it silently. It should reject the model due to invalid statements being present 'type' statement. Audit and fix all similar failures to validate statement appropriateness. |
| Comments |
| Comment by Martin Ciglan [ 20/Nov/15 ] |
|
Validation design discussed, will be implemented |
| Comment by Filip Gregor [ 01/Dec/15 ] |
|
Fix pushed: https://git.opendaylight.org/gerrit/#/c/30202/ |