When payload string content does not correspond to referenced model, the YDK should report an error during that string decoding.
Current Behavior
When decoding payload string, which content does not correspond to referenced model, the YDK silently skips unmatched tags making impression that decoding has completely succeeded.
Steps to Reproduce
Decode XML or JSON encoded payload, which does not correspond to Yang model.
Your Script
TBD
System Information
YDK-0.5.5.
The issue does not appear in YDK-0.7.x and up, because of underlying libyang base.
The issue appears in YDK-0.5.5.
Expected Behavior
When payload string content does not correspond to referenced model, the YDK should report an error during that string decoding.
Current Behavior
When decoding payload string, which content does not correspond to referenced model, the YDK silently skips unmatched tags making impression that decoding has completely succeeded.
Steps to Reproduce
Decode XML or JSON encoded payload, which does not correspond to Yang model.
Your Script
TBD
System Information
YDK-0.5.5. The issue does not appear in YDK-0.7.x and up, because of underlying libyang base.