`eventname` supports a comma separated list of values
authorAlexander Ebert <ebert@woltlab.com>
Thu, 6 Dec 2018 10:17:36 +0000 (11:17 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 6 Dec 2018 10:17:36 +0000 (11:17 +0100)
XSD/eventListener.xsd

index a7d57aaf18edebca4cc86115fd811ff610d7c293..ccda8530abdec1365c2a9eff4ed978c56221efab 100644 (file)
@@ -31,7 +31,7 @@
        <!-- event listener element type -->
        <xs:complexType name="eventlistener">
                <xs:all>
-                       <xs:element name="eventclassname" minOccurs="0">
+                       <xs:element name="eventclassname">
                                <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                                <xs:minLength value="0" />
                                        </xs:restriction>
                                </xs:simpleType>
                        </xs:element>
-                       <xs:element name="eventname" minOccurs="0">
-                               <xs:simpleType>
-                                       <xs:restriction base="xs:string">
-                                               <xs:minLength value="0" />
-                                               <xs:maxLength value="50" />
-                                       </xs:restriction>
-                               </xs:simpleType>
-                       </xs:element>
-                       <xs:element name="listenerclassname" minOccurs="0">
+                       <xs:element name="eventname" type="xs:string" />
+                       <xs:element name="listenerclassname">
                                <xs:simpleType>
                                        <xs:restriction base="xs:string">
                                                <xs:minLength value="0" />
@@ -70,4 +63,4 @@
                </xs:all>
                <xs:attribute name="name" type="woltlab_varchar" use="optional" />
        </xs:complexType>
-</xs:schema>
\ No newline at end of file
+</xs:schema>