Bug 1441: Bug fixes, clean-up and test migration
[yangtools.git] / yang / yang-data-codec-xml / src / test / resources / schema / simple.xml
1 <root>
2     <container xmlns="urn:opendaylight:params:xml:ns:yang:controller:test">
3         <boolean>true</boolean>
4         <innerContainer>
5             <uint16>44</uint16>
6         </innerContainer>
7         <leafList>a</leafList>
8         <leafList>b</leafList>
9
10         <list>
11             <uint32InList>1</uint32InList>
12             <containerInList name="inContainer">
13                 <uint32>32</uint32>
14                 <uint16>16</uint16>
15                 <identityr xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">prefix:b</identityr>
16                 <anyX xmlns="urn:opendaylight:params:xml:ns:yang:controller:test">direct Value</anyX>
17                 <uint16-ref>16</uint16-ref>
18                 <instance-id xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:test">/prefix:container/prefix:list[prefix:uint32InList="1"]</instance-id>
19             </containerInList>
20             <stringAugmentedToList>augmentInList</stringAugmentedToList>
21             <stringAugmentedToListInCase1>augmentInListCase1</stringAugmentedToListInCase1>
22         </list>
23         <list>
24             <uint32InList>2</uint32InList>
25             <containerInList>
26                 <uint32>32</uint32>
27                 <uint16>16</uint16>
28                 <identityr>b</identityr>
29                 <anyX>
30                     <container xmlns="randomNamespace" xmlns:pref="prefixed:namespace">
31                         <pref:boolean>true</pref:boolean>
32                         <innerContainer xmlns:p="prefixed:namespace">
33                             <uint16 xmlns:pref2="prefixed:namespace">pref2:44</uint16>
34                         </innerContainer>
35                     </container>
36                     <container2 xmlns="randomNamespace2"/>
37                 </anyX>
38             </containerInList>
39             <stringAugmentedToListInCase2>augmentInListCase2</stringAugmentedToListInCase2>
40         </list>
41         <list>
42             <uint32InList>4</uint32InList>
43             <containerInList>
44                 <anyX>
45                     <netconf-state xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">
46                         <schemas>
47                             <schema>
48                                 <identifier>module</identifier>
49                                 <version>2012-12-12</version>
50                                 <format xmlns:x="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">x:yang</format>
51                             </schema>
52                         </schemas>
53                     </netconf-state>
54                 </anyX>
55             </containerInList>
56         </list>
57         <list>
58             <uint32InList>3</uint32InList>
59         </list>
60
61         <augmentString1>choice1Case1</augmentString1>
62         <augmentInt1>41</augmentInt1>
63         <stringInAugmentedCaseInAugmentedChoiceFromAugment>deep</stringInAugmentedCaseInAugmentedChoiceFromAugment>
64
65         <augmentContainer>
66             <augmentStringInaugmentContainer>choice2Case1</augmentStringInaugmentContainer>
67         </augmentContainer>
68
69         <augmentUint32>999</augmentUint32>
70
71
72
73     </container>
74 </root>