Skip to content

Validate xml against YANG model: Invalid identityref error #2176

Answered by michalvasko
smark28 asked this question in Q&A
Discussion options

You must be logged in to vote

Does this mean that it is not enough to specify this identityref in the model, the validation process won't look into related files automatically?

Even according to YANG, you have to specify both the module and the identity name. If for no other reason, then because there may be name collisions.

If I understand correctly I can't check them against the yang model without manually correcting elements/namespaces, right?

I guess, the generated RPC request is simply invalid.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@smark28
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by smark28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants