Merge branch 'master' of ../controller
[yangtools.git] / yang / yang-data-codec-xml / src / test / resources / bug8675 / foo.yang
1 module foo {
2     namespace foo;
3     prefix foo;
4
5     revision 2017-06-13;
6
7     list top-level-list {
8         key key-leaf;
9
10         leaf key-leaf {
11             type string;
12         }
13
14         leaf ordinary-leaf {
15             type string;
16         }
17
18         container cont-in-list {}
19
20         list inner-list {
21             key inner-key-leaf;
22
23             leaf inner-key-leaf {
24                 type string;
25             }
26
27             leaf inner-ordinary-leaf {
28                 type string;
29             }
30         }
31     }
32
33     container top-level-container {
34         container inner-container-1 {}
35         container inner-container-2 {}
36     }
37
38     anyxml top-level-anyxml;
39
40     leaf top-level-leaf {
41         type int32;
42     }
43
44     leaf-list top-level-leaf-list {
45         type int32;
46     }
47 }