5 new revisions:
Revision: 04c76426f600
Branch: default
Author: Jussi Malinen
Date: Fri Oct 26 02:38:00 2012
Log: elapsed time added and anyattributes allowed.
http://code.google.com/p/robotframework/source/detail?r=04c76426f600
Revision: 3d322ee7f286
Branch: default
Author: Jussi Malinen
Date: Fri Oct 26 02:39:04 2012
Log: renamed schema
http://code.google.com/p/robotframework/source/detail?r=3d322ee7f286
Revision: bf73c6b6ba6f
Branch: default
Author: Jussi Malinen
Date: Fri Oct 26 02:39:25 2012
Log: added xsd 1.0 schema
http://code.google.com/p/robotframework/source/detail?r=bf73c6b6ba6f
Revision: 1e47ad8fa1f0
Branch: default
Author: Jussi Malinen
Date: Fri Oct 26 04:02:55 2012
Log: limit kws in suite to 2
http://code.google.com/p/robotframework/source/detail?r=1e47ad8fa1f0
Revision: 6d69c9e7b7e4
Branch: default
Author: Jussi Malinen
Date: Fri Oct 26 04:06:46 2012
Log: changed xsd 1.0 schema to use choices instead of sequences.
http://code.google.com/p/robotframework/source/detail?r=6d69c9e7b7e4
==============================================================================
Revision: 04c76426f600
Branch: default
Author: Jussi Malinen
Date: Fri Oct 26 02:38:00 2012
Log: elapsed time added and anyattributes allowed.
http://code.google.com/p/robotframework/source/detail?r=04c76426f600
Modified:
/proto/schema/robot.xsd
=======================================
--- /proto/schema/robot.xsd Thu Oct 25 06:45:13 2012
+++ /proto/schema/robot.xsd Fri Oct 26 02:38:00 2012
@@ -25,6 +25,7 @@
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="source" type="xs:string"/>
<xs:attribute name="id" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
</xs:complexType>
<xs:complexType name="test">
<xs:all>
@@ -37,6 +38,7 @@
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="id" type="xs:string"/>
<xs:attribute name="timeout" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
</xs:complexType>
<xs:complexType name="kw">
<xs:all>
@@ -49,6 +51,7 @@
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="type" type="xs:string"/>
<xs:attribute name="timeout" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
</xs:complexType>
<xs:attribute name="status">
<xs:simpleType>
@@ -64,6 +67,7 @@
<xs:attribute ref="status"/>
<xs:attribute name="endtime" type="xs:string"/>
<xs:attribute name="starttime" type="xs:string"/>
+ <xs:attribute name="elapsedtime" type="xs:string"/>
<xs:attribute name="critical" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
@@ -86,6 +90,7 @@
<xs:attribute name="timestamp" type="xs:string"/>
<xs:attribute ref="level"/>
<xs:attribute name="html" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
@@ -108,6 +113,7 @@
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="name" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
@@ -135,6 +141,7 @@
<xs:attribute name="combined" type="xs:string"/>
<xs:attribute name="id" type="xs:string"/>
<xs:attribute name="name" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
==============================================================================
Revision: 3d322ee7f286
Branch: default
Author: Jussi Malinen
Date: Fri Oct 26 02:39:04 2012
Log: renamed schema
http://code.google.com/p/robotframework/source/detail?r=3d322ee7f286
Added:
/proto/schema/robot-xsd11.xsd
Deleted:
/proto/schema/robot.xsd
=======================================
--- /dev/null
+++ /proto/schema/robot-xsd11.xsd Fri Oct 26 02:39:04 2012
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This has been written in XSD 1.1 -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="robot">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="suite" type="suite"/>
+ <xs:element name="statistics" type="statistics"
minOccurs="0"/>
+ <xs:element name="errors" type="errors" minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute name="generator" type="xs:string"/>
+ <xs:attribute name="generated" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:complexType name="suite">
+ <xs:all>
+ <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="suite" type="suite" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="test" type="test" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="doc" type="xs:string" minOccurs="0"/>
+ <xs:element name="metadata" type="metadata" minOccurs="0"/>
+ <xs:element name="status" type="status"/>
+ </xs:all>
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:attribute name="source" type="xs:string"/>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:complexType>
+ <xs:complexType name="test">
+ <xs:all>
+ <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="msg" type="msg" minOccurs="0"/>
+ <xs:element name="doc" type="xs:string" minOccurs="0"/>
+ <xs:element name="tags" type="tags" minOccurs="0"/>
+ <xs:element name="status" type="status"/>
+ </xs:all>
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="timeout" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:complexType>
+ <xs:complexType name="kw">
+ <xs:all>
+ <xs:element name="doc" type="xs:string" minOccurs="0"/>
+ <xs:element name="arguments" type="arguments" minOccurs="0"/>
+ <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="msg" type="msg" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="status" type="status"/>
+ </xs:all>
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:attribute name="type" type="xs:string"/>
+ <xs:attribute name="timeout" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:complexType>
+ <xs:attribute name="status">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="PASS"/>
+ <xs:enumeration value="FAIL"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:complexType name="status">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute ref="status"/>
+ <xs:attribute name="endtime" type="xs:string"/>
+ <xs:attribute name="starttime" type="xs:string"/>
+ <xs:attribute name="elapsedtime" type="xs:string"/>
+ <xs:attribute name="critical" type="xs:string"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:attribute name="level">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="TRACE"/>
+ <xs:enumeration value="DEBUG"/>
+ <xs:enumeration value="INFO"/>
+ <xs:enumeration value="WARN"/>
+ <xs:enumeration value="ERROR"/>
+ <xs:enumeration value="FAIL"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:complexType name="msg">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="timestamp" type="xs:string"/>
+ <xs:attribute ref="level"/>
+ <xs:attribute name="html" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="arguments">
+ <xs:sequence>
+ <xs:element name="arg" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="tags">
+ <xs:sequence>
+ <xs:element name="tag" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="metadata">
+ <xs:sequence>
+ <xs:element name="item" type="metadataItem" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="metadataItem">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="statistics">
+ <xs:all>
+ <xs:element name="total" type="stats"/>
+ <xs:element name="tag" type="stats"/>
+ <xs:element name="suite" type="stats"/>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="stats">
+ <xs:sequence>
+ <xs:element name="stat" type="stat" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="stat">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="fail" type="xs:integer"/>
+ <xs:attribute name="critical" type="xs:string"/>
+ <xs:attribute name="pass" type="xs:integer"/>
+ <xs:attribute name="info" type="xs:string"/>
+ <xs:attribute name="links" type="xs:string"/>
+ <xs:attribute name="doc" type="xs:string"/>
+ <xs:attribute name="combined" type="xs:string"/>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="errors">
+ <xs:sequence>
+ <xs:element name="msg" type="msg" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
=======================================
--- /proto/schema/robot.xsd Fri Oct 26 02:38:00 2012
+++ /dev/null
@@ -1,153 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This has been written in XSD 1.1 -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="robot">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="suite" type="suite"/>
- <xs:element name="statistics" type="statistics"
minOccurs="0"/>
- <xs:element name="errors" type="errors" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="generator" type="xs:string"/>
- <xs:attribute name="generated" type="xs:string"/>
- <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="suite">
- <xs:all>
- <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
- <xs:element name="suite" type="suite" maxOccurs="unbounded"
minOccurs="0"/>
- <xs:element name="test" type="test" maxOccurs="unbounded"
minOccurs="0"/>
- <xs:element name="doc" type="xs:string" minOccurs="0"/>
- <xs:element name="metadata" type="metadata" minOccurs="0"/>
- <xs:element name="status" type="status"/>
- </xs:all>
- <xs:attribute name="name" type="xs:string"/>
- <xs:attribute name="source" type="xs:string"/>
- <xs:attribute name="id" type="xs:string"/>
- <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
- <xs:complexType name="test">
- <xs:all>
- <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
- <xs:element name="msg" type="msg" minOccurs="0"/>
- <xs:element name="doc" type="xs:string" minOccurs="0"/>
- <xs:element name="tags" type="tags" minOccurs="0"/>
- <xs:element name="status" type="status"/>
- </xs:all>
- <xs:attribute name="name" type="xs:string"/>
- <xs:attribute name="id" type="xs:string"/>
- <xs:attribute name="timeout" type="xs:string"/>
- <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
- <xs:complexType name="kw">
- <xs:all>
- <xs:element name="doc" type="xs:string" minOccurs="0"/>
- <xs:element name="arguments" type="arguments" minOccurs="0"/>
- <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
- <xs:element name="msg" type="msg" maxOccurs="unbounded"
minOccurs="0"/>
- <xs:element name="status" type="status"/>
- </xs:all>
- <xs:attribute name="name" type="xs:string"/>
- <xs:attribute name="type" type="xs:string"/>
- <xs:attribute name="timeout" type="xs:string"/>
- <xs:anyAttribute processContents="lax"/>
- </xs:complexType>
- <xs:attribute name="status">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="PASS"/>
- <xs:enumeration value="FAIL"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:complexType name="status">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute ref="status"/>
- <xs:attribute name="endtime" type="xs:string"/>
- <xs:attribute name="starttime" type="xs:string"/>
- <xs:attribute name="elapsedtime" type="xs:string"/>
- <xs:attribute name="critical" type="xs:string"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:attribute name="level">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="TRACE"/>
- <xs:enumeration value="DEBUG"/>
- <xs:enumeration value="INFO"/>
- <xs:enumeration value="WARN"/>
- <xs:enumeration value="ERROR"/>
- <xs:enumeration value="FAIL"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:complexType name="msg">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="timestamp" type="xs:string"/>
- <xs:attribute ref="level"/>
- <xs:attribute name="html" type="xs:string"/>
- <xs:anyAttribute processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="arguments">
- <xs:sequence>
- <xs:element name="arg" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="tags">
- <xs:sequence>
- <xs:element name="tag" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="metadata">
- <xs:sequence>
- <xs:element name="item" type="metadataItem" minOccurs="0"
maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="metadataItem">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string"/>
- <xs:anyAttribute processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="statistics">
- <xs:all>
- <xs:element name="total" type="stats"/>
- <xs:element name="tag" type="stats"/>
- <xs:element name="suite" type="stats"/>
- </xs:all>
- </xs:complexType>
- <xs:complexType name="stats">
- <xs:sequence>
- <xs:element name="stat" type="stat" minOccurs="0"
maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="stat">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="fail" type="xs:integer"/>
- <xs:attribute name="critical" type="xs:string"/>
- <xs:attribute name="pass" type="xs:integer"/>
- <xs:attribute name="info" type="xs:string"/>
- <xs:attribute name="links" type="xs:string"/>
- <xs:attribute name="doc" type="xs:string"/>
- <xs:attribute name="combined" type="xs:string"/>
- <xs:attribute name="id" type="xs:string"/>
- <xs:attribute name="name" type="xs:string"/>
- <xs:anyAttribute processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="errors">
- <xs:sequence>
- <xs:element name="msg" type="msg" minOccurs="0"
maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-</xs:schema>
==============================================================================
Revision: bf73c6b6ba6f
Branch: default
Author: Jussi Malinen
Date: Fri Oct 26 02:39:25 2012
Log: added xsd 1.0 schema
http://code.google.com/p/robotframework/source/detail?r=bf73c6b6ba6f
Added:
/proto/schema/robot-xsd10.xsd
=======================================
--- /dev/null
+++ /proto/schema/robot-xsd10.xsd Fri Oct 26 02:39:25 2012
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This has been written in XSD 1.1 -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="robot">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="suite" type="suite"/>
+ <xs:element name="statistics" type="statistics"
minOccurs="0"/>
+ <xs:element name="errors" type="errors" minOccurs="0"/>
+ </xs:sequence>
+ <xs:attribute name="generator" type="xs:string"/>
+ <xs:attribute name="generated" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:complexType name="suite">
+ <xs:sequence>
+ <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="suite" type="suite" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="test" type="test" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="doc" type="xs:string" minOccurs="0"/>
+ <xs:element name="metadata" type="metadata" minOccurs="0"/>
+ <xs:element name="status" type="status"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:attribute name="source" type="xs:string"/>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:complexType>
+ <xs:complexType name="test">
+ <xs:sequence>
+ <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="msg" type="msg" minOccurs="0"/>
+ <xs:element name="doc" type="xs:string" minOccurs="0"/>
+ <xs:element name="tags" type="tags" minOccurs="0"/>
+ <xs:element name="status" type="status"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="timeout" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:complexType>
+ <xs:complexType name="kw">
+ <xs:sequence>
+ <xs:element name="doc" type="xs:string" minOccurs="0"/>
+ <xs:element name="arguments" type="arguments" minOccurs="0"/>
+ <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="msg" type="msg" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="status" type="status"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:attribute name="type" type="xs:string"/>
+ <xs:attribute name="timeout" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:complexType>
+ <xs:attribute name="status">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="PASS"/>
+ <xs:enumeration value="FAIL"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:complexType name="status">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute ref="status"/>
+ <xs:attribute name="endtime" type="xs:string"/>
+ <xs:attribute name="starttime" type="xs:string"/>
+ <xs:attribute name="elapsedtime" type="xs:string"/>
+ <xs:attribute name="critical" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:attribute name="level">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="TRACE"/>
+ <xs:enumeration value="DEBUG"/>
+ <xs:enumeration value="INFO"/>
+ <xs:enumeration value="WARN"/>
+ <xs:enumeration value="ERROR"/>
+ <xs:enumeration value="FAIL"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:complexType name="msg">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="timestamp" type="xs:string"/>
+ <xs:attribute ref="level"/>
+ <xs:attribute name="html" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="arguments">
+ <xs:sequence>
+ <xs:element name="arg" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="tags">
+ <xs:sequence>
+ <xs:element name="tag" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="metadata">
+ <xs:sequence>
+ <xs:element name="item" type="metadataItem" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="metadataItem">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="statistics">
+ <xs:all>
+ <xs:element name="total" type="stats"/>
+ <xs:element name="tag" type="stats"/>
+ <xs:element name="suite" type="stats"/>
+ </xs:all>
+ </xs:complexType>
+ <xs:complexType name="stats">
+ <xs:sequence>
+ <xs:element name="stat" type="stat" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="stat">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="fail" type="xs:integer"/>
+ <xs:attribute name="critical" type="xs:string"/>
+ <xs:attribute name="pass" type="xs:integer"/>
+ <xs:attribute name="info" type="xs:string"/>
+ <xs:attribute name="links" type="xs:string"/>
+ <xs:attribute name="doc" type="xs:string"/>
+ <xs:attribute name="combined" type="xs:string"/>
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:anyAttribute processContents="lax"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="errors">
+ <xs:sequence>
+ <xs:element name="msg" type="msg" minOccurs="0"
maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
==============================================================================
Revision: 1e47ad8fa1f0
Branch: default
Author: Jussi Malinen
Date: Fri Oct 26 04:02:55 2012
Log: limit kws in suite to 2
http://code.google.com/p/robotframework/source/detail?r=1e47ad8fa1f0
Modified:
/proto/schema/robot-xsd11.xsd
=======================================
--- /proto/schema/robot-xsd11.xsd Fri Oct 26 02:39:04 2012
+++ /proto/schema/robot-xsd11.xsd Fri Oct 26 04:02:55 2012
@@ -15,7 +15,7 @@
</xs:element>
<xs:complexType name="suite">
<xs:all>
- <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:element name="kw" type="kw" maxOccurs="2" minOccurs="0"/>
<xs:element name="suite" type="suite" maxOccurs="unbounded"
minOccurs="0"/>
<xs:element name="test" type="test" maxOccurs="unbounded"
minOccurs="0"/>
<xs:element name="doc" type="xs:string" minOccurs="0"/>
==============================================================================
Revision: 6d69c9e7b7e4
Branch: default
Author: Jussi Malinen
Date: Fri Oct 26 04:06:46 2012
Log: changed xsd 1.0 schema to use choices instead of sequences.
http://code.google.com/p/robotframework/source/detail?r=6d69c9e7b7e4
Modified:
/proto/schema/robot-xsd10.xsd
=======================================
--- /proto/schema/robot-xsd10.xsd Fri Oct 26 02:39:25 2012
+++ /proto/schema/robot-xsd10.xsd Fri Oct 26 04:06:46 2012
@@ -14,40 +14,40 @@
</xs:complexType>
</xs:element>
<xs:complexType name="suite">
- <xs:sequence>
- <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
- <xs:element name="suite" type="suite" maxOccurs="unbounded"
minOccurs="0"/>
- <xs:element name="test" type="test" maxOccurs="unbounded"
minOccurs="0"/>
- <xs:element name="doc" type="xs:string" minOccurs="0"/>
- <xs:element name="metadata" type="metadata" minOccurs="0"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="kw" type="kw"/>
+ <xs:element name="suite" type="suite"/>
+ <xs:element name="test" type="test"/>
+ <xs:element name="doc" type="xs:string"/>
+ <xs:element name="metadata" type="metadata"/>
<xs:element name="status" type="status"/>
- </xs:sequence>
+ </xs:choice>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="source" type="xs:string"/>
<xs:attribute name="id" type="xs:string"/>
<xs:anyAttribute processContents="lax"/>
</xs:complexType>
<xs:complexType name="test">
- <xs:sequence>
- <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
- <xs:element name="msg" type="msg" minOccurs="0"/>
- <xs:element name="doc" type="xs:string" minOccurs="0"/>
- <xs:element name="tags" type="tags" minOccurs="0"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="kw" type="kw"/>
+ <xs:element name="msg" type="msg"/>
+ <xs:element name="doc" type="xs:string"/>
+ <xs:element name="tags" type="tags"/>
<xs:element name="status" type="status"/>
- </xs:sequence>
+ </xs:choice>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="id" type="xs:string"/>
<xs:attribute name="timeout" type="xs:string"/>
<xs:anyAttribute processContents="lax"/>
</xs:complexType>
<xs:complexType name="kw">
- <xs:sequence>
- <xs:element name="doc" type="xs:string" minOccurs="0"/>
- <xs:element name="arguments" type="arguments" minOccurs="0"/>
- <xs:element name="kw" type="kw" maxOccurs="unbounded"
minOccurs="0"/>
- <xs:element name="msg" type="msg" maxOccurs="unbounded"
minOccurs="0"/>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="doc" type="xs:string"/>
+ <xs:element name="arguments" type="arguments"/>
+ <xs:element name="kw" type="kw" maxOccurs="unbounded"/>
+ <xs:element name="msg" type="msg" maxOccurs="unbounded"/>
<xs:element name="status" type="status"/>
- </xs:sequence>
+ </xs:choice>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="type" type="xs:string"/>
<xs:attribute name="timeout" type="xs:string"/>