Changes the type of options/permissions in xsds
authorMatthias Schmidt <gravatronics@live.com>
Sat, 17 Sep 2011 15:43:54 +0000 (17:43 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 17 Sep 2011 15:43:54 +0000 (17:43 +0200)
The type of options and permissions elements should be xs:string rather than woltlab_varchar_nullable since they can be longer than 255 (the database column type is always TEXT).

Additionally the missing permissions element in usergroupoptions.xsd was added.

XSD/options.xsd
XSD/usergroupoptions.xsd
XSD/useroptions.xsd

index 4c27befe59bfd46c1873f2250639fb150b336ed2..d53011d5e608cbf5dee7c61ce83fc047aac3f0d4 100644 (file)
@@ -71,8 +71,8 @@
                                         <xs:element name="enableoptions" type="xs:string" minOccurs="0" />
                                         <xs:element name="hidden" type="woltlab_boolean" minOccurs="0" />                                        
                                         <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="options" type="xs:string" minOccurs="0" />
+                                        <xs:element name="permissions" type="xs:string" minOccurs="0" />
                                 </xs:all>
                         </xs:extension>
                 </xs:complexContent>
index ecac13f0d32fc81a1e62dad1e5aa8867e73b5af8..728268f8c5bb06cf8462bba89d70a117971ecd23 100644 (file)
@@ -68,7 +68,8 @@
                                         <xs:element name="validationpattern" type="xs:string" minOccurs="0" />
                                         <xs:element name="enableoptions" type="xs:string" minOccurs="0" />                                       
                                         <xs:element name="showorder" type="xs:unsignedInt" minOccurs="0" />
-                                        <xs:element name="options" type="woltlab_varchar_nullable" minOccurs="0" />
+                                        <xs:element name="options" type="xs:string" minOccurs="0" />
+                                       <xs:element name="permissions" type="xs:string" minOccurs="0" />
                                        <xs:element name="admindefaultvalue" type="xs:string" minOccurs="0" />
                                 </xs:all>
                         </xs:extension>
index 7a4088faa76ef7f1f325fa203fa673eb711d12d1..a672b7f40d6f0027f658e2a935b7be3da58b3691 100644 (file)
@@ -90,8 +90,8 @@
                                         <xs:element name="searchable" type="woltlab_boolean" minOccurs="0" />
                                         <xs:element name="deactivated" type="woltlab_boolean" minOccurs="0" />
                                         <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="options" type="xs:string" minOccurs="0" />
+                                       <xs:element name="permissions" type="xs:string" minOccurs="0" />
                                 </xs:all>
                         </xs:extension>
                 </xs:complexContent>