Fix box and page type in XSDs
authorFabii547 <Fabii547@users.noreply.github.com>
Sat, 22 Jul 2017 08:26:32 +0000 (10:26 +0200)
committerFabii547 <Fabii547@users.noreply.github.com>
Sat, 22 Jul 2017 08:26:32 +0000 (10:26 +0200)
XSD/box.xsd
XSD/page.xsd

index c11a789f4527998a087c197d8ce5a76d5a0de394..f031f40e5efb45dc7772e232488d53c175bac8d3 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- This file is used for xml-files which install, update or delete pages. -->
+<!-- This file is used for xml-files which install, update or delete boxes. -->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.woltlab.com" targetNamespace="http://www.woltlab.com" elementFormDefault="qualified">
        <!-- include types -->
        <xs:include schemaLocation="types.xsd" />
@@ -41,6 +41,9 @@
                                        <xs:element name="boxType" minOccurs="1">
                                                <xs:simpleType>
                                                        <xs:restriction base="xs:string">
+                                                               <xs:enumeration value="html" />
+                                                               <xs:enumeration value="text" />
+                                                               <xs:enumeration value="tpl" />
                                                                <xs:enumeration value="system" />
                                                        </xs:restriction>
                                                </xs:simpleType>
index bad6fc7a305287fb23e81edf381039b23267d736..3cf1eab83b7552decd3a637bbc0f66a7fce017f4 100644 (file)
                                        <xs:element name="pageType" minOccurs="1">
                                                <xs:simpleType>
                                                        <xs:restriction base="xs:string">
-                                                               <xs:enumeration value="system" />
+                                                               <xs:enumeration value="html" />
                                                                <xs:enumeration value="text" />
+                                                               <xs:enumeration value="tpl" />
+                                                               <xs:enumeration value="system" />
                                                        </xs:restriction>
                                                </xs:simpleType>
                                        </xs:element>