|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <!-- This has been written in XSD 1.0 -->
|
3 | 3 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
4 |
| - <xs:element name="robot" type="Robot"/> |
| 4 | + <xs:element name="robot" type="Robot" /> |
5 | 5 | <xs:complexType name="Robot">
|
6 | 6 | <xs:sequence>
|
7 |
| - <xs:element name="suite" type="Suite"/> |
8 |
| - <xs:element name="statistics" type="Statistics" minOccurs="0"/> |
9 |
| - <xs:element name="errors" type="Errors" minOccurs="0"/> |
| 7 | + <xs:element name="suite" type="Suite" /> |
| 8 | + <xs:element name="statistics" type="Statistics" minOccurs="0" /> |
| 9 | + <xs:element name="errors" type="Errors" minOccurs="0" /> |
10 | 10 | </xs:sequence>
|
11 |
| - <xs:attribute name="generator" type="xs:string"/> |
12 |
| - <xs:attribute name="generated" type="xs:string"/> |
13 |
| - <xs:attribute name="rpa" type="xs:boolean"/> |
14 |
| - <xs:attribute name="schemaversion" type="xs:int"/> |
| 11 | + <xs:attribute name="generator" type="xs:string" /> |
| 12 | + <xs:attribute name="generated" type="xs:string" /> |
| 13 | + <xs:attribute name="rpa" type="xs:boolean" /> |
| 14 | + <xs:attribute name="schemaversion" type="xs:int" /> |
15 | 15 | </xs:complexType>
|
16 | 16 | <xs:complexType name="Suite">
|
17 | 17 | <xs:choice maxOccurs="unbounded">
|
18 |
| - <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="2"/> |
19 |
| - <xs:element name="suite" type="Suite" minOccurs="0" maxOccurs="unbounded"/> |
20 |
| - <xs:element name="test" type="Test" minOccurs="0" maxOccurs="unbounded"/> |
21 |
| - <xs:element name="doc" type="xs:string" minOccurs="0"/> |
22 |
| - <xs:element name="meta" type="Metadata" minOccurs="0" maxOccurs="unbounded"/> |
23 |
| - <xs:element name="status" type="Status"/> |
| 18 | + <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="2" /> |
| 19 | + <xs:element name="suite" type="Suite" minOccurs="0" maxOccurs="unbounded" /> |
| 20 | + <xs:element name="test" type="Test" minOccurs="0" maxOccurs="unbounded" /> |
| 21 | + <xs:element name="doc" type="xs:string" minOccurs="0" /> |
| 22 | + <xs:element name="meta" type="Metadata" minOccurs="0" maxOccurs="unbounded" /> |
| 23 | + <xs:element name="status" type="Status" /> |
24 | 24 | </xs:choice>
|
25 | 25 | <xs:attribute name="name" type="xs:string" />
|
26 |
| - <xs:attribute name="source" type="xs:string"/> |
27 |
| - <xs:attribute name="id" type="xs:string"/> |
| 26 | + <xs:attribute name="source" type="xs:string" /> |
| 27 | + <xs:attribute name="id" type="xs:string" /> |
28 | 28 | </xs:complexType>
|
29 | 29 | <xs:complexType name="Metadata">
|
30 | 30 | <xs:simpleContent>
|
31 | 31 | <xs:extension base="xs:string">
|
32 |
| - <xs:attribute name="name" type="xs:string" use="required"/> |
| 32 | + <xs:attribute name="name" type="xs:string" use="required" /> |
33 | 33 | </xs:extension>
|
34 | 34 | </xs:simpleContent>
|
35 | 35 | </xs:complexType>
|
36 | 36 | <xs:complexType name="Test">
|
37 | 37 | <xs:choice maxOccurs="unbounded">
|
38 |
| - <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded"/> |
39 |
| - <xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded"/> |
40 |
| - <xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded"/> |
41 |
| - <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded"/> |
42 |
| - <xs:element name="doc" type="xs:string" minOccurs="0"/> |
43 |
| - <xs:element name="tag" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> |
44 |
| - <xs:element name="timeout" type="Timeout" minOccurs="0"/> |
45 |
| - <xs:element name="status" type="Status"/> |
| 38 | + <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" /> |
| 39 | + <xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded" /> |
| 40 | + <xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded" /> |
| 41 | + <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" /> |
| 42 | + <xs:element name="doc" type="xs:string" minOccurs="0" /> |
| 43 | + <xs:element name="tag" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
| 44 | + <xs:element name="timeout" type="Timeout" minOccurs="0" /> |
| 45 | + <xs:element name="status" type="Status" /> |
46 | 46 | </xs:choice>
|
47 | 47 | <xs:attribute name="name" type="xs:string" />
|
48 | 48 | <xs:attribute name="id" type="xs:string" />
|
49 | 49 | </xs:complexType>
|
50 | 50 | <xs:complexType name="Keyword">
|
51 | 51 | <xs:choice maxOccurs="unbounded">
|
52 |
| - <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded"/> |
53 |
| - <xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded"/> |
54 |
| - <xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded"/> |
55 |
| - <xs:element name="var" type="xs:string" minOccurs="0"/> |
56 |
| - <xs:element name="arg" type="xs:string" minOccurs="0"/> |
| 52 | + <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" /> |
| 53 | + <xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded" /> |
| 54 | + <xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded" /> |
| 55 | + <xs:element name="var" type="xs:string" minOccurs="0" /> |
| 56 | + <xs:element name="arg" type="xs:string" minOccurs="0" /> |
57 | 57 | <xs:element name="doc" type="xs:string" minOccurs="0" />
|
58 |
| - <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded"/> |
59 |
| - <xs:element name="tag" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> |
60 |
| - <xs:element name="timeout" type="Timeout" minOccurs="0"/> |
| 58 | + <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" /> |
| 59 | + <xs:element name="tag" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
| 60 | + <xs:element name="timeout" type="Timeout" minOccurs="0" /> |
61 | 61 | <xs:element name="status" type="Status" />
|
62 | 62 | </xs:choice>
|
63 | 63 | <xs:attribute name="name" type="xs:string" />
|
64 |
| - <xs:attribute name="library" type="xs:string"/> |
65 |
| - <xs:attribute name="sourcename" type="xs:string"/> |
66 |
| - <xs:attribute name="type" type="KeywordType"/> |
| 64 | + <xs:attribute name="library" type="xs:string" /> |
| 65 | + <xs:attribute name="sourcename" type="xs:string" /> |
| 66 | + <xs:attribute name="type" type="KeywordType" /> |
67 | 67 | </xs:complexType>
|
68 | 68 | <xs:simpleType name="KeywordType">
|
69 | 69 | <xs:restriction base="xs:string">
|
70 |
| - <xs:enumeration value="SETUP"/> |
71 |
| - <xs:enumeration value="TEARDOWN"/> |
| 70 | + <xs:enumeration value="SETUP" /> |
| 71 | + <xs:enumeration value="TEARDOWN" /> |
72 | 72 | </xs:restriction>
|
73 | 73 | </xs:simpleType>
|
74 | 74 | <xs:complexType name="For">
|
75 | 75 | <xs:choice maxOccurs="unbounded">
|
76 | 76 | <xs:element name="var" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
77 | 77 | <xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
|
78 |
| - <xs:element name="iter" type="ForIteration" minOccurs="0" maxOccurs="unbounded"/> |
79 |
| - <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded"/> |
80 |
| - <xs:element name="doc" type="xs:string" minOccurs="0"/> |
81 |
| - <xs:element name="status" type="Status"/> |
| 78 | + <xs:element name="iter" type="ForIteration" minOccurs="0" maxOccurs="unbounded" /> |
| 79 | + <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" /> |
| 80 | + <xs:element name="doc" type="xs:string" minOccurs="0" /> |
| 81 | + <xs:element name="status" type="Status" /> |
82 | 82 | </xs:choice>
|
83 | 83 | <xs:attribute name="flavor" type="ForFlavor" />
|
84 | 84 | </xs:complexType>
|
85 | 85 | <xs:simpleType name="ForFlavor">
|
86 | 86 | <xs:restriction base="xs:string">
|
87 |
| - <xs:enumeration value="IN"/> |
88 |
| - <xs:enumeration value="IN RANGE"/> |
89 |
| - <xs:enumeration value="IN ENUMERATE"/> |
90 |
| - <xs:enumeration value="IN ZIP"/> |
| 87 | + <xs:enumeration value="IN" /> |
| 88 | + <xs:enumeration value="IN RANGE" /> |
| 89 | + <xs:enumeration value="IN ENUMERATE" /> |
| 90 | + <xs:enumeration value="IN ZIP" /> |
91 | 91 | </xs:restriction>
|
92 | 92 | </xs:simpleType>
|
93 | 93 | <xs:complexType name="ForIteration">
|
94 | 94 | <xs:choice maxOccurs="unbounded">
|
95 | 95 | <xs:element name="var" type="ForIterationVariable" minOccurs="0" maxOccurs="unbounded" />
|
96 |
| - <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded"/> |
97 |
| - <xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded"/> |
98 |
| - <xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded"/> |
99 |
| - <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded"/> |
100 |
| - <xs:element name="doc" type="xs:string" minOccurs="0"/> |
101 |
| - <xs:element name="status" type="Status"/> |
| 96 | + <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" /> |
| 97 | + <xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded" /> |
| 98 | + <xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded" /> |
| 99 | + <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" /> |
| 100 | + <xs:element name="doc" type="xs:string" minOccurs="0" /> |
| 101 | + <xs:element name="status" type="Status" /> |
102 | 102 | </xs:choice>
|
103 | 103 | </xs:complexType>
|
104 | 104 | <xs:complexType name="ForIterationVariable">
|
105 | 105 | <xs:simpleContent>
|
106 | 106 | <xs:extension base="xs:string">
|
107 |
| - <xs:attribute name="name" type="xs:string" use="required"/> |
| 107 | + <xs:attribute name="name" type="xs:string" use="required" /> |
108 | 108 | </xs:extension>
|
109 | 109 | </xs:simpleContent>
|
110 | 110 | </xs:complexType>
|
111 | 111 | <xs:complexType name="If">
|
112 | 112 | <xs:choice maxOccurs="unbounded">
|
113 |
| - <xs:element name="branch" type="IfBranch" minOccurs="0" maxOccurs="unbounded"/> |
114 |
| - <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded"/> |
115 |
| - <xs:element name="doc" type="xs:string" minOccurs="0"/> |
116 |
| - <xs:element name="status" type="Status"/> |
| 113 | + <xs:element name="branch" type="IfBranch" minOccurs="0" maxOccurs="unbounded" /> |
| 114 | + <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" /> |
| 115 | + <xs:element name="doc" type="xs:string" minOccurs="0" /> |
| 116 | + <xs:element name="status" type="Status" /> |
117 | 117 | </xs:choice>
|
118 | 118 | </xs:complexType>
|
119 | 119 | <xs:complexType name="IfBranch">
|
120 | 120 | <xs:choice maxOccurs="unbounded">
|
121 |
| - <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded"/> |
122 |
| - <xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded"/> |
123 |
| - <xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded"/> |
124 |
| - <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded"/> |
125 |
| - <xs:element name="doc" type="xs:string" minOccurs="0"/> |
126 |
| - <xs:element name="status" type="Status"/> |
| 121 | + <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" /> |
| 122 | + <xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded" /> |
| 123 | + <xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded" /> |
| 124 | + <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" /> |
| 125 | + <xs:element name="doc" type="xs:string" minOccurs="0" /> |
| 126 | + <xs:element name="status" type="Status" /> |
127 | 127 | </xs:choice>
|
128 |
| - <xs:attribute name="type" type="IfType" use="required"/> |
129 |
| - <xs:attribute name="condition" type="xs:string"/> |
| 128 | + <xs:attribute name="type" type="IfType" use="required" /> |
| 129 | + <xs:attribute name="condition" type="xs:string" /> |
130 | 130 | </xs:complexType>
|
131 | 131 | <xs:simpleType name="IfType">
|
132 | 132 | <xs:restriction base="xs:string">
|
133 |
| - <xs:enumeration value="IF"/> |
134 |
| - <xs:enumeration value="ELSE IF"/> |
135 |
| - <xs:enumeration value="ELSE"/> |
| 133 | + <xs:enumeration value="IF" /> |
| 134 | + <xs:enumeration value="ELSE IF" /> |
| 135 | + <xs:enumeration value="ELSE" /> |
136 | 136 | </xs:restriction>
|
137 | 137 | </xs:simpleType>
|
138 | 138 | <xs:complexType name="Message">
|
139 | 139 | <xs:simpleContent>
|
140 | 140 | <xs:extension base="xs:string">
|
141 |
| - <xs:attribute name="timestamp" type="xs:string" use="required"/> |
142 |
| - <xs:attribute name="level" type="MessageLevel" use="required"/> |
143 |
| - <xs:attribute name="html" type="xs:boolean"/> |
| 141 | + <xs:attribute name="timestamp" type="xs:string" use="required" /> |
| 142 | + <xs:attribute name="level" type="MessageLevel" use="required" /> |
| 143 | + <xs:attribute name="html" type="xs:boolean" /> |
144 | 144 | </xs:extension>
|
145 | 145 | </xs:simpleContent>
|
146 | 146 | </xs:complexType>
|
147 | 147 | <xs:simpleType name="MessageLevel">
|
148 | 148 | <xs:restriction base="xs:string">
|
149 |
| - <xs:enumeration value="TRACE"/> |
150 |
| - <xs:enumeration value="DEBUG"/> |
151 |
| - <xs:enumeration value="INFO"/> |
152 |
| - <xs:enumeration value="WARN"/> |
153 |
| - <xs:enumeration value="ERROR"/> |
154 |
| - <xs:enumeration value="FAIL"/> |
155 |
| - <xs:enumeration value="SKIP"/> |
| 149 | + <xs:enumeration value="TRACE" /> |
| 150 | + <xs:enumeration value="DEBUG" /> |
| 151 | + <xs:enumeration value="INFO" /> |
| 152 | + <xs:enumeration value="WARN" /> |
| 153 | + <xs:enumeration value="ERROR" /> |
| 154 | + <xs:enumeration value="FAIL" /> |
| 155 | + <xs:enumeration value="SKIP" /> |
156 | 156 | </xs:restriction>
|
157 | 157 | </xs:simpleType>
|
158 | 158 | <xs:complexType name="Status">
|
159 | 159 | <xs:simpleContent>
|
160 | 160 | <xs:extension base="xs:string">
|
161 |
| - <xs:attribute name="status" type="StatusValue" use="required"/> |
162 |
| - <xs:attribute name="starttime" type="xs:string"/> |
163 |
| - <xs:attribute name="endtime" type="xs:string"/> |
164 |
| - <xs:attribute name="elapsedtime" type="xs:string"/> |
| 161 | + <xs:attribute name="status" type="StatusValue" use="required" /> |
| 162 | + <xs:attribute name="starttime" type="xs:string" /> |
| 163 | + <xs:attribute name="endtime" type="xs:string" /> |
| 164 | + <xs:attribute name="elapsedtime" type="xs:string" /> |
165 | 165 | </xs:extension>
|
166 | 166 | </xs:simpleContent>
|
167 | 167 | </xs:complexType>
|
168 | 168 | <xs:simpleType name="StatusValue">
|
169 | 169 | <xs:restriction base="xs:string">
|
170 |
| - <xs:enumeration value="PASS"/> |
171 |
| - <xs:enumeration value="FAIL"/> |
172 |
| - <xs:enumeration value="SKIP"/> |
173 |
| - <xs:enumeration value="NOT RUN"/> <!-- Not used with suite or test --> |
| 170 | + <xs:enumeration value="PASS" /> |
| 171 | + <xs:enumeration value="FAIL" /> |
| 172 | + <xs:enumeration value="SKIP" /> |
| 173 | + <xs:enumeration value="NOT RUN" /> <!-- Not used with suite or test --> |
174 | 174 | </xs:restriction>
|
175 | 175 | </xs:simpleType>
|
176 | 176 | <xs:complexType name="Timeout">
|
177 |
| - <xs:attribute name="value" type="xs:string" use="required"/> |
| 177 | + <xs:attribute name="value" type="xs:string" use="required" /> |
178 | 178 | </xs:complexType>
|
179 | 179 | <xs:complexType name="Statistics">
|
180 | 180 | <xs:all>
|
181 |
| - <xs:element name="total" type="TotalStatistics"/> |
182 |
| - <xs:element name="tag" type="TagStatistics"/> |
183 |
| - <xs:element name="suite" type="SuiteStatistics"/> |
| 181 | + <xs:element name="total" type="TotalStatistics" /> |
| 182 | + <xs:element name="tag" type="TagStatistics" /> |
| 183 | + <xs:element name="suite" type="SuiteStatistics" /> |
184 | 184 | </xs:all>
|
185 | 185 | </xs:complexType>
|
186 | 186 | <xs:complexType name="TotalStatistics">
|
187 | 187 | <xs:sequence>
|
188 |
| - <xs:element name="stat" type="TotalStat"/> |
| 188 | + <xs:element name="stat" type="TotalStat" /> |
189 | 189 | </xs:sequence>
|
190 | 190 | </xs:complexType>
|
191 | 191 | <xs:complexType name="TagStatistics">
|
192 | 192 | <xs:sequence>
|
193 |
| - <xs:element name="stat" type="TagStat" minOccurs="0" maxOccurs="unbounded"/> |
| 193 | + <xs:element name="stat" type="TagStat" minOccurs="0" maxOccurs="unbounded" /> |
194 | 194 | </xs:sequence>
|
195 | 195 | </xs:complexType>
|
196 | 196 | <xs:complexType name="SuiteStatistics">
|
197 | 197 | <xs:sequence>
|
198 |
| - <xs:element name="stat" type="SuiteStat" maxOccurs="unbounded"/> |
| 198 | + <xs:element name="stat" type="SuiteStat" maxOccurs="unbounded" /> |
199 | 199 | </xs:sequence>
|
200 | 200 | </xs:complexType>
|
201 | 201 | <xs:complexType name="TotalStat">
|
202 | 202 | <xs:simpleContent>
|
203 | 203 | <xs:extension base="xs:string">
|
204 |
| - <xs:attribute name="pass" type="xs:integer"/> |
205 |
| - <xs:attribute name="fail" type="xs:integer"/> |
206 |
| - <xs:attribute name="skip" type="xs:integer"/> |
| 204 | + <xs:attribute name="pass" type="xs:integer" /> |
| 205 | + <xs:attribute name="fail" type="xs:integer" /> |
| 206 | + <xs:attribute name="skip" type="xs:integer" /> |
207 | 207 | </xs:extension>
|
208 | 208 | </xs:simpleContent>
|
209 | 209 | </xs:complexType>
|
210 | 210 | <xs:complexType name="TagStat">
|
211 | 211 | <xs:simpleContent>
|
212 | 212 | <xs:extension base="xs:string">
|
213 |
| - <xs:attribute name="pass" type="xs:integer"/> |
214 |
| - <xs:attribute name="fail" type="xs:integer"/> |
215 |
| - <xs:attribute name="skip" type="xs:integer"/> |
216 |
| - <xs:attribute name="doc" type="xs:string"/> |
217 |
| - <xs:attribute name="links" type="xs:string"/> |
218 |
| - <xs:attribute name="info" type="xs:string"/> |
219 |
| - <xs:attribute name="combined" type="xs:string"/> |
| 213 | + <xs:attribute name="pass" type="xs:integer" /> |
| 214 | + <xs:attribute name="fail" type="xs:integer" /> |
| 215 | + <xs:attribute name="skip" type="xs:integer" /> |
| 216 | + <xs:attribute name="doc" type="xs:string" /> |
| 217 | + <xs:attribute name="links" type="xs:string" /> |
| 218 | + <xs:attribute name="info" type="xs:string" /> |
| 219 | + <xs:attribute name="combined" type="xs:string" /> |
220 | 220 | </xs:extension>
|
221 | 221 | </xs:simpleContent>
|
222 | 222 | </xs:complexType>
|
223 | 223 | <xs:complexType name="SuiteStat">
|
224 | 224 | <xs:simpleContent>
|
225 | 225 | <xs:extension base="xs:string">
|
226 |
| - <xs:attribute name="pass" type="xs:integer"/> |
227 |
| - <xs:attribute name="fail" type="xs:integer"/> |
228 |
| - <xs:attribute name="skip" type="xs:integer"/> |
229 |
| - <xs:attribute name="id" type="xs:string"/> |
230 |
| - <xs:attribute name="name" type="xs:string"/> |
| 226 | + <xs:attribute name="pass" type="xs:integer" /> |
| 227 | + <xs:attribute name="fail" type="xs:integer" /> |
| 228 | + <xs:attribute name="skip" type="xs:integer" /> |
| 229 | + <xs:attribute name="id" type="xs:string" /> |
| 230 | + <xs:attribute name="name" type="xs:string" /> |
231 | 231 | </xs:extension>
|
232 | 232 | </xs:simpleContent>
|
233 | 233 | </xs:complexType>
|
234 | 234 | <xs:complexType name="Errors">
|
235 | 235 | <xs:sequence>
|
236 |
| - <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded"/> |
| 236 | + <xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" /> |
237 | 237 | </xs:sequence>
|
238 | 238 | </xs:complexType>
|
239 | 239 | </xs:schema>
|
0 commit comments