Update XSD
authorMathieu Baudier <mbaudier@argeo.org>
Sun, 4 May 2008 18:59:35 +0000 (18:59 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sun, 4 May 2008 18:59:35 +0000 (18:59 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@1112 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.slc.core/src/main/resources/org/argeo/slc/xml/slc.xsd

index 621dcc37d4a94570689dcab8b970a3355014e0e4..bb44d77bfd77d9c2a7709298f3617c5f55baf650 100644 (file)
@@ -18,7 +18,7 @@
        <xs:complexType name="ResultPartsType">\r
                <xs:sequence>\r
                        <xs:element name="result-part" type="slc:ResultPartType"\r
-                               maxOccurs="unbounded">\r
+                               minOccurs="0" maxOccurs="unbounded">\r
                        </xs:element>\r
                </xs:sequence>\r
        </xs:complexType>\r
@@ -70,7 +70,7 @@
        <xs:complexType name="ElementsType">\r
                <xs:sequence>\r
                        <xs:element name="element" type="slc:ElementType"\r
-                               maxOccurs="unbounded">\r
+                               minOccurs="0" maxOccurs="unbounded">\r
                        </xs:element>\r
                </xs:sequence>\r
        </xs:complexType>\r
@@ -89,7 +89,7 @@
        </xs:complexType>\r
        <xs:complexType name="TagsType">\r
                <xs:sequence>\r
-                       <xs:element name="tag" type="slc:TagType"\r
+                       <xs:element name="tag" type="slc:TagType" minOccurs="0"\r
                                maxOccurs="unbounded">\r
                        </xs:element>\r
                </xs:sequence>\r
        </xs:complexType>\r
        <xs:complexType name="TestRunDescriptorType">\r
                <xs:all>\r
-                       <xs:element name="slc-execution-uuid" type="xs:string" />\r
-                       <xs:element name="slc-execution-step-uuid" type="xs:string" />\r
                        <xs:element name="test-run-uuid" type="xs:string" />\r
-                       <xs:element name="deployed-sytem-id" type="xs:string" />\r
-                       <xs:element name="test-result-uuid" type="xs:string" />\r
+                       <xs:element name="slc-execution-uuid" type="xs:string"\r
+                               minOccurs="0" />\r
+                       <xs:element name="slc-execution-step-uuid" type="xs:string"\r
+                               minOccurs="0" />\r
+                       <xs:element name="deployed-sytem-id" type="xs:string"\r
+                               minOccurs="0" />\r
+                       <xs:element name="test-result-uuid" type="xs:string"\r
+                               minOccurs="0" />\r
                </xs:all>\r
        </xs:complexType>\r
 \r