Add missing elements to XSDs
authorFabii547 <Fabii547@users.noreply.github.com>
Fri, 21 Jul 2017 13:11:53 +0000 (15:11 +0200)
committerFabii547 <Fabii547@users.noreply.github.com>
Fri, 21 Jul 2017 13:11:53 +0000 (15:11 +0200)
XSD/cronjob.xsd
XSD/eventListener.xsd
XSD/option.xsd

index 376363381517207eb6ca47517467370e10c7e14a..5fd95adb15af1bfc883936ae93caca89e052be93 100644 (file)
@@ -32,7 +32,7 @@
        <xs:complexType name="cronjob_import">
                <xs:complexContent>
                        <xs:extension base="cronjob_delete">
-                                <xs:choice maxOccurs="unbounded" minOccurs="0">
+                               <xs:choice maxOccurs="unbounded" minOccurs="0">
                                        <xs:element name="description" type="description_element" minOccurs="0" maxOccurs="unbounded" />
                                        <xs:element name="startminute" type="woltlab_varchar" minOccurs="1" />
                                        <xs:element name="starthour" type="woltlab_varchar" minOccurs="1" />
@@ -44,6 +44,7 @@
                                        <xs:element name="canbedisabled" type="woltlab_boolean" minOccurs="0" default="1" />
                                        <xs:element name="isdisabled" type="woltlab_boolean" minOccurs="0" default="0" />
                                        <xs:element name="active" type="woltlab_boolean" minOccurs="0" default="1" />
+                                       <xs:element name="options" type="xs:string" minOccurs="0" />
                                </xs:choice>
                        </xs:extension>
                </xs:complexContent>
index ff9c3be276965c8ca1cf37564fd0ab5b861bc715..98dd9ec3867e9d97c5844675eaf8e59277c8a037 100644 (file)
@@ -30,7 +30,6 @@
        
        <!-- event listener element type -->
        <xs:complexType name="eventlistener">
-               <xs:attribute name="name" type="woltlab_varchar" use="optional" />
                <xs:all>
                        <xs:element name="eventclassname" minOccurs="0">
                                <xs:simpleType>
@@ -58,6 +57,9 @@
                        </xs:element>
                        <xs:element name="inherit" type="woltlab_boolean" minOccurs="0" />
                        <xs:element name="environment" type="woltlab_environment" minOccurs="0" />
+                       <xs:element name="options" type="xs:string" minOccurs="0" />
+                       <xs:element name="permissions" type="xs:string" minOccurs="0" />
                </xs:all>
+               <xs:attribute name="name" type="woltlab_varchar" use="optional" />
        </xs:complexType>
 </xs:schema>
\ No newline at end of file
index e2e30c28879b135bb0bbadd58563ff732a96c58a..ced5cc6b8c3d3417c6c35a9ec959ceecab6ca49d 100644 (file)
@@ -41,6 +41,7 @@
                                        <xs:element name="showorder" type="xs:unsignedInt" minOccurs="0" />
                                        <xs:element name="options" type="woltlab_varchar_nullable" minOccurs="0" />
                                        <xs:element name="permissions" type="woltlab_varchar_nullable" minOccurs="0" />
+                                       <xs:element name="suffix" type="xs:string" minOccurs="0" />
                                </xs:all>
                        </xs:extension>
                </xs:complexContent>