> On 04 Sep 2015, at 10:26, Balazs Lengyel <[email protected]> wrote:
> 
> Hello,
> The attached module was accepted as valid by pyang and by the 
> http://www.netconfcentral.org/ validator. IMHO it should be invalid as it 
> seems to allow two a1 and two a2 definition inside choices desease and kongo.
> The operation
> <edit-config>
>   <hospital>
>      <a1>5</a1>
>   </hospital>
> <\edit-config>
> would be abigious. Does the value 5 belong to the case pest or the case ebola?
> Opinions?

I agree, this is clearly invalid.

Lada

> regards Balazs
> 
> -- 
> Balazs Lengyel                       Ericsson Hungary Ltd.
> Senior Specialist
> ECN: 831 7320
> Mobile: +36-70-330-7909              email: [email protected]
> 
> <rec2.yang>_______________________________________________
> netmod mailing list
> [email protected]
> https://www.ietf.org/mailman/listinfo/netmod

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C




_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to