diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-13 00:02:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-13 00:03:14 +0300 |
commit | 18b46dace4e352fb8ab19861877fbbc5c214e348 (patch) | |
tree | d7b2e8b8d50506ca036f44d8b6c2989fdc3df939 | |
parent | fee2209f0cb926355f0528a9223c8d1b043c4ea0 (diff) | |
download | evol-tools-18b46dace4e352fb8ab19861877fbbc5c214e348.tar.gz evol-tools-18b46dace4e352fb8ab19861877fbbc5c214e348.tar.bz2 evol-tools-18b46dace4e352fb8ab19861877fbbc5c214e348.tar.xz evol-tools-18b46dace4e352fb8ab19861877fbbc5c214e348.zip |
testxml: add xsd for groups.xml
-rw-r--r-- | testxml/xsd/tmw.xsd | 15 | ||||
-rwxr-xr-x | testxml/xsdcheck.sh | 1 |
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 |