Update template listener XSD
authorMarcel Werk <burntime@woltlab.com>
Fri, 18 Nov 2016 17:31:46 +0000 (18:31 +0100)
committerMarcel Werk <burntime@woltlab.com>
Fri, 18 Nov 2016 17:32:01 +0000 (18:32 +0100)
XSD/templateListener.xsd

index 9d35f2822aa9e14b86dd314e83455c93bc799a17..b768d4334f9008cb7f2524d5d89c59284ff08f28 100644 (file)
        <!-- deleted templatelisteners -->
        <xs:complexType name="templatelistener_delete">
                <xs:attribute name="name" type="woltlab_varchar" use="required" />
+               <xs:all>
+                       <xs:element name="environment" type="woltlab_environment" minOccurs="0" />
+                       <xs:element name="templatename" type="xs:string" minOccurs="0" />
+                       <xs:element name="eventname" type="xs:string" minOccurs="0" />
+               </xs:all>
        </xs:complexType>
        
        <!-- imported/updated templatelisteners -->
@@ -38,9 +43,6 @@
                <xs:complexContent>
                        <xs:extension base="templatelistener_delete">
                                <xs:all>
-                                       <xs:element name="environment" type="woltlab_environment" minOccurs="0" />
-                                       <xs:element name="templatename" type="xs:string" minOccurs="0" />
-                                       <xs:element name="eventname" type="xs:string" minOccurs="0" />
                                        <xs:element name="templatecode" type="xs:string" minOccurs="0" />
                                        <xs:element name="nice" minOccurs="0">
                                                <xs:simpleType>