marvin-zhao / pyang

Automatically exported from code.google.com/p/pyang
0 stars 0 forks source link

Mandatory nodes directly under the default case in the choice #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
According to the specification:
"There MUST NOT be any mandatory nodes (Section 3.1) directly under the
default case of the choice".

In the attached example I added a leaf with 'mandatory' true under the
default case, and pyang does not complain about this.

What version of the product are you using? On what operating system?
pyang 0.9.3

Original issue reported on code.google.com by kur...@gmail.com on 20 Apr 2009 at 8:20

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by mbj4...@gmail.com on 21 Apr 2009 at 7:23

GoogleCodeExporter commented 9 years ago

Original comment by mbj4...@gmail.com on 21 Apr 2009 at 7:25

GoogleCodeExporter commented 9 years ago

Original comment by mbj4...@gmail.com on 21 Apr 2009 at 9:21