Skip to content
Snippets Groups Projects
Commit bfefcb5e authored by MELERIX's avatar MELERIX
Browse files

BETA: Fixed XSD file from [9157], please don't remove XML header (encoding...

BETA: Fixed XSD file from [9157], please don't remove XML header (encoding standar) from XML/XSD files, otherwise them are not properly identified by XML tools/validators.
parent 632a2a1e
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="list">
<xs:complexType>
......
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="list">
<xs:complexType>
<xs:sequence>
<xs:element name="castle" maxOccurs="unbounded" minOccurs="0">
<xs:sequence maxOccurs="1" minOccurs="1">
<xs:element name="castle" maxOccurs="9" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="crop" maxOccurs="unbounded" minOccurs="0">
<xs:sequence maxOccurs="1" minOccurs="1">
<xs:element name="crop" maxOccurs="unbounded" minOccurs="1">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:short" name="id" use="required" />
<xs:attribute type="xs:short" name="seedId" use="required" />
<xs:attribute type="xs:short" name="mature_Id" use="required" />
<xs:attribute type="xs:short" name="reward1" use="required" />
<xs:attribute type="xs:short" name="reward2" use="required" />
<xs:attribute name="id" use="required">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
<xs:minInclusive value="1" />
<xs:maxInclusive value="65535" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="seedId" use="required">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
<xs:minInclusive value="1" />
<xs:maxInclusive value="65535" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="mature_Id" use="required">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
<xs:minInclusive value="1" />
<xs:maxInclusive value="65535" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="reward1" use="required">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
<xs:minInclusive value="1" />
<xs:maxInclusive value="65535" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="reward2" use="required">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
<xs:minInclusive value="1" />
<xs:maxInclusive value="65535" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute type="xs:boolean" name="alternative" use="required" />
<xs:attribute type="xs:byte" name="level" use="required" />
<xs:attribute type="xs:short" name="limit_seed" use="required" />
<xs:attribute type="xs:short" name="limit_crops" use="required" />
<xs:attribute name="level" use="required">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
<xs:minInclusive value="1" />
<xs:maxInclusive value="85" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="limit_seed" use="required">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
<xs:minInclusive value="1" />
<xs:maxInclusive value="65535" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="limit_crops" use="required">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
<xs:minInclusive value="1" />
<xs:maxInclusive value="65535" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="xs:byte" name="id" use="required" />
<xs:attribute name="id" use="required">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
<xs:minInclusive value="1" />
<xs:maxInclusive value="9" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment