Fix styleVariables.xsd
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 5 Sep 2023 08:45:10 +0000 (10:45 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 5 Sep 2023 08:48:57 +0000 (10:48 +0200)
XSD/styleVariables.xsd

index 239b11508f74ddee2a73ed76da55d0c69e46131e..bfde76cf04f1f45e3e3a23c925062f75d917bd50 100644 (file)
@@ -5,14 +5,20 @@
        <xs:include schemaLocation="types.xsd" />
        
        <!-- Represents the variables-node. -->
-       <xs:complexType name="variables">
-               <xs:sequence>
-                       <xs:element name="variable" type="variable" minOccurs="0" maxOccurs="unbounded" />
-               </xs:sequence>
-       </xs:complexType>
+       <xs:element name="variables">
+               <xs:complexType>
+                       <xs:sequence>
+                               <xs:element name="variable" type="variable" minOccurs="0" maxOccurs="unbounded" />
+                       </xs:sequence>
+               </xs:complexType>
+       </xs:element>
        
        <!-- Represents a style variable value. -->
        <xs:complexType name="variable">
-               <xs:attribute name="name" type="woltlab_varchar" use="required" />
+               <xs:simpleContent>
+                       <xs:extension base="xs:string">
+                               <xs:attribute name="name" type="woltlab_varchar" use="required" />
+                       </xs:extension>
+               </xs:simpleContent>
        </xs:complexType>
-</xs:schema>
\ No newline at end of file
+</xs:schema>