<!-- 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" />
</xs:all>
<xs:attribute name="name" type="woltlab_varchar" use="optional" />
</xs:complexType>
-</xs:schema>
\ No newline at end of file
+</xs:schema>