summaryrefslogtreecommitdiff
path: root/testxml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-23 17:39:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-23 17:40:01 +0300
commitb6744e29f5bd6c46495d2407115a1a3986806491 (patch)
tree1a78583c7da804b82d3c381e2f454450552c24cd /testxml
parent5c59f3c7e8bfd4b240d1a540e2d0cca406cdde42 (diff)
downloadevol-tools-b6744e29f5bd6c46495d2407115a1a3986806491.tar.gz
evol-tools-b6744e29f5bd6c46495d2407115a1a3986806491.tar.bz2
evol-tools-b6744e29f5bd6c46495d2407115a1a3986806491.tar.xz
evol-tools-b6744e29f5bd6c46495d2407115a1a3986806491.zip
testxml: add support for validation format in equipmentslots.xml
Diffstat (limited to 'testxml')
-rw-r--r--testxml/xsd/tmw.xsd14
-rwxr-xr-xtestxml/xsdcheck.sh1
2 files changed, 15 insertions, 0 deletions
diff --git a/testxml/xsd/tmw.xsd b/testxml/xsd/tmw.xsd
index c399d43..860490d 100644
--- a/testxml/xsd/tmw.xsd
+++ b/testxml/xsd/tmw.xsd
@@ -1475,6 +1475,20 @@
<xs:attribute name="signed" type="bool" default="true"/>
</xs:complexType>
+ <xs:element name="equipmentslots" type="root_equipmentslots"/>
+ <xs:complexType name="root_equipmentslots">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="slot">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="slot" type="xs:int" use="required"/>
+ </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 47ddde2..ae702de 100755
--- a/testxml/xsdcheck.sh
+++ b/testxml/xsdcheck.sh
@@ -21,6 +21,7 @@ check charcreation.xml
check deadmessages.xml
check effects.xml
check emotes.xml
+check equipmentslots.xml
check equipmentwindow.xml
check evol.manaplus
check features.xml