Skip to content

Commit 4def26c

Browse files
committed
output.xml schema: Enhance XSD 1.1 compatibility.
Add maxOccurs to keyword assignment and arguments. These are needed if xs:choice groups are converted to xs:all groups when using XSD 1.1. That would make the schema more strict. Related to robotframework#3726.
1 parent 65b5b72 commit 4def26c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/schema/robot.02.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@
7171
<xs:element name="for" type="For" minOccurs="0" maxOccurs="unbounded" />
7272
<xs:element name="if" type="If" minOccurs="0" maxOccurs="unbounded" />
7373
<!-- Assigned variables. -->
74-
<xs:element name="var" type="xs:string" minOccurs="0" />
74+
<xs:element name="var" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
7575
<!-- Arguments -->
76-
<xs:element name="arg" type="xs:string" minOccurs="0" />
76+
<xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
7777
<xs:element name="doc" type="xs:string" minOccurs="0" />
7878
<xs:element name="msg" type="Message" minOccurs="0" maxOccurs="unbounded" />
7979
<xs:element name="tag" type="xs:string" minOccurs="0" maxOccurs="unbounded" />

0 commit comments

Comments
 (0)