Added documentation of the void element
authorMarcel Werk <burntime@woltlab.com>
Sat, 14 May 2022 14:03:45 +0000 (16:03 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sat, 14 May 2022 14:03:45 +0000 (16:03 +0200)
XSD/package.xsd

index 877519c7950c5099d9bdf971fef6a7521f7f667e..3482ee4967f974ed05fb330355e8b80c9ff8f5eb 100644 (file)
        
        <!-- instructions elements -->
        <xs:complexType name="instructions">
-               <xs:sequence>
+               <xs:choice maxOccurs="1">
+                       <xs:element name="void" type="xs:string" fixed=""/>
                        <xs:sequence>
                                <xs:element name="instruction" maxOccurs="unbounded" type="instructionType"/>
                        </xs:sequence>
-               </xs:sequence>
+               </xs:choice>
                <xs:attribute name="type" type="instructionTypes" use="required" />
                <xs:attribute name="fromversion" type="woltlab_varchar" />
        </xs:complexType>
                        </xs:extension>
                </xs:simpleContent>
        </xs:complexType>
-</xs:schema>
\ No newline at end of file
+</xs:schema>