summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-13 00:02:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-13 00:03:14 +0300
commit18b46dace4e352fb8ab19861877fbbc5c214e348 (patch)
treed7b2e8b8d50506ca036f44d8b6c2989fdc3df939 /testxml
parentfee2209f0cb926355f0528a9223c8d1b043c4ea0 (diff)
downloadtools-18b46dace4e352fb8ab19861877fbbc5c214e348.tar.gz
tools-18b46dace4e352fb8ab19861877fbbc5c214e348.tar.bz2
tools-18b46dace4e352fb8ab19861877fbbc5c214e348.tar.xz
tools-18b46dace4e352fb8ab19861877fbbc5c214e348.zip
testxml: add xsd for groups.xml
Diffstat (limited to 'testxml')
-rw-r--r--testxml/xsd/tmw.xsd15
-rwxr-xr-xtestxml/xsdcheck.sh1
2 files changed, 16 insertions, 0 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd
index bb55b9b..865557c 100644
--- a/testxml/xsd/tmw.xsd
+++ b/testxml/xsd/tmw.xsd
@@ -1701,6 +1701,21 @@
</xs:sequence>
</xs:complexType>
+ <xs:element name="groups" type="root_groups"/>
+ <xs:complexType name="root_groups">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="group">
+ <xs:complexType>
+ <xs:attribute name="id" type="xs:int" use="required"/>
+ <xs:attribute name="name" type="xs:string" default=""/>
+ <xs:attribute name="longName" type="xs:string" default=""/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
<!-- probably not all tags correct here -->
<xs:element name="homunculuses" type="root_homunculuses"/>
<xs:complexType name="root_homunculuses">
diff --git a/testxml/xsdcheck.sh b/testxml/xsdcheck.sh
index 519fb59..e9b5563 100755
--- a/testxml/xsdcheck.sh
+++ b/testxml/xsdcheck.sh
@@ -26,6 +26,7 @@ check equipmentslots.xml
check equipmentwindow.xml
check evol.manaplus
check features.xml
+check groups.xml
check homunculuses.xml
check horses.xml
check itemcolors.xml