Skip to content

Commit b302b0a

Browse files
committed
Schema: Add a space before closing />.
No practical difference but this seems to be a common convention with schemas.
1 parent 155aada commit b302b0a

File tree

1 file changed

+109
-109
lines changed

1 file changed

+109
-109
lines changed

doc/schema/robot.02.xsd

Lines changed: 109 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,239 +1,239 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- This has been written in XSD 1.0 -->
33
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
4-
<xs:element name="robot" type="Robot"/>
4+
<xs:element name="robot" type="Robot" />
55
<xs:complexType name="Robot">
66
<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" />
1010
</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" />
1515
</xs:complexType>
1616
<xs:complexType name="Suite">
1717
<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" />
2424
</xs:choice>
2525
<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" />
2828
</xs:complexType>
2929
<xs:complexType name="Metadata">
3030
<xs:simpleContent>
3131
<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" />
3333
</xs:extension>
3434
</xs:simpleContent>
3535
</xs:complexType>
3636
<xs:complexType name="Test">
3737
<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" />
4646
</xs:choice>
4747
<xs:attribute name="name" type="xs:string" />
4848
<xs:attribute name="id" type="xs:string" />
4949
</xs:complexType>
5050
<xs:complexType name="Keyword">
5151
<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" />
5757
<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" />
6161
<xs:element name="status" type="Status" />
6262
</xs:choice>
6363
<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" />
6767
</xs:complexType>
6868
<xs:simpleType name="KeywordType">
6969
<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" />
7272
</xs:restriction>
7373
</xs:simpleType>
7474
<xs:complexType name="For">
7575
<xs:choice maxOccurs="unbounded">
7676
<xs:element name="var" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
7777
<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" />
8282
</xs:choice>
8383
<xs:attribute name="flavor" type="ForFlavor" />
8484
</xs:complexType>
8585
<xs:simpleType name="ForFlavor">
8686
<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" />
9191
</xs:restriction>
9292
</xs:simpleType>
9393
<xs:complexType name="ForIteration">
9494
<xs:choice maxOccurs="unbounded">
9595
<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" />
102102
</xs:choice>
103103
</xs:complexType>
104104
<xs:complexType name="ForIterationVariable">
105105
<xs:simpleContent>
106106
<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" />
108108
</xs:extension>
109109
</xs:simpleContent>
110110
</xs:complexType>
111111
<xs:complexType name="If">
112112
<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" />
117117
</xs:choice>
118118
</xs:complexType>
119119
<xs:complexType name="IfBranch">
120120
<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" />
127127
</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" />
130130
</xs:complexType>
131131
<xs:simpleType name="IfType">
132132
<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" />
136136
</xs:restriction>
137137
</xs:simpleType>
138138
<xs:complexType name="Message">
139139
<xs:simpleContent>
140140
<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" />
144144
</xs:extension>
145145
</xs:simpleContent>
146146
</xs:complexType>
147147
<xs:simpleType name="MessageLevel">
148148
<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" />
156156
</xs:restriction>
157157
</xs:simpleType>
158158
<xs:complexType name="Status">
159159
<xs:simpleContent>
160160
<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" />
165165
</xs:extension>
166166
</xs:simpleContent>
167167
</xs:complexType>
168168
<xs:simpleType name="StatusValue">
169169
<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 -->
174174
</xs:restriction>
175175
</xs:simpleType>
176176
<xs:complexType name="Timeout">
177-
<xs:attribute name="value" type="xs:string" use="required"/>
177+
<xs:attribute name="value" type="xs:string" use="required" />
178178
</xs:complexType>
179179
<xs:complexType name="Statistics">
180180
<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" />
184184
</xs:all>
185185
</xs:complexType>
186186
<xs:complexType name="TotalStatistics">
187187
<xs:sequence>
188-
<xs:element name="stat" type="TotalStat"/>
188+
<xs:element name="stat" type="TotalStat" />
189189
</xs:sequence>
190190
</xs:complexType>
191191
<xs:complexType name="TagStatistics">
192192
<xs:sequence>
193-
<xs:element name="stat" type="TagStat" minOccurs="0" maxOccurs="unbounded"/>
193+
<xs:element name="stat" type="TagStat" minOccurs="0" maxOccurs="unbounded" />
194194
</xs:sequence>
195195
</xs:complexType>
196196
<xs:complexType name="SuiteStatistics">
197197
<xs:sequence>
198-
<xs:element name="stat" type="SuiteStat" maxOccurs="unbounded"/>
198+
<xs:element name="stat" type="SuiteStat" maxOccurs="unbounded" />
199199
</xs:sequence>
200200
</xs:complexType>
201201
<xs:complexType name="TotalStat">
202202
<xs:simpleContent>
203203
<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" />
207207
</xs:extension>
208208
</xs:simpleContent>
209209
</xs:complexType>
210210
<xs:complexType name="TagStat">
211211
<xs:simpleContent>
212212
<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" />
220220
</xs:extension>
221221
</xs:simpleContent>
222222
</xs:complexType>
223223
<xs:complexType name="SuiteStat">
224224
<xs:simpleContent>
225225
<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" />
231231
</xs:extension>
232232
</xs:simpleContent>
233233
</xs:complexType>
234234
<xs:complexType name="Errors">
235235
<xs:sequence>
236-
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded"/>
236+
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
237237
</xs:sequence>
238238
</xs:complexType>
239239
</xs:schema>

0 commit comments

Comments
 (0)