-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behaviour of Empty LIST Input in RESTCONF JSON #166
Comments
This seems to be an error. Problem being json2xml translation that produces eg this:
which is wrong: it expresses an (empty) ipv4 list element. |
Changed json->xml translation of empty lists so that eg, |
Hey all, thanx for this wonderful library. In my opinion this issue was misunderstood, we face the same issue:
we get an error:
but sending
is ok. in essence should in my opinion a Regards |
Thanks. |
Hi !
I have a question on the behaviour of LISTs with no data in them.
Consider the below yang schema
When an input via RESTCONF in JSON format is given as the following
The data is crafted in the way that none of the attributes inside the LIST ipv4 is given.
CLIXON responds back promptly with
Complaining about the missing "prefix4".
The question is if the entire list is empty . shall that empty list be ignored without returning any errors by simply not processing that section and processing the rest of the valid data ?
The text was updated successfully, but these errors were encountered: