Thanks Lada. I agree that it'd be good if there was no number next to choice 
and case nodes.
Regards,Reshad.
    On Tuesday, November 18, 2025 at 05:45:46 AM EST, Ladislav Lhotka 
<[email protected]> wrote:  
 
 Camilo Cardona <[email protected]> writes:

...

> Here is what yangson shows. The output is a proper tree this time. Probably 
> yangson does not “visit” the choice/case intermediate nodes, that’s something 
>  that needs to be tune in the future for easily showing the non-covered 
> tree.. 

This is correct, the validation procedure in Yangson descends down the 
*instance* tree, so the counters are only updated for data nodes in the schema 
whenever these are used for validation. I have to think about what can be done 
with it - at any rate, it's confusing to show zeroes next to choice and case 
nodes.

Thanks, Lada

-- 
Ladislav Lhotka <[email protected]>
PGP Key ID: 0xB8F92B08A9F76C67
  
_______________________________________________
netmod mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to