[YANGTOOLS-1075] Parser accepts duplicate identity definitions Created: 22/Jan/20  Updated: 22/Jan/20  Resolved: 22/Jan/20

Status: Resolved
Project: yangtools
Component/s: parser
Affects Version/s: None
Fix Version/s: 5.0.0, 3.0.10, 4.0.7

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:
Blocks
blocks YANGTOOLS-761 Remove SchemaNode hashCode()/equals() Resolved

 Description   

We have an explicit test which relies on equality squashing of identity definitions. Duplicate identities are an RFC7950 violation (https://tools.ietf.org/html/rfc7950#section-6.2.1) and should be caught when encountered.

 


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