From 63c8abded78e07413a54bde29e7c4e85b3b999f8 Mon Sep 17 00:00:00 2001 From: MELERIX <MELERIX@users.noreply.github.com> Date: Sun, 8 Jan 2012 02:50:48 +0000 Subject: [PATCH] BETA: Fixing line delimiters in few XSDs. --- .../dist/game/data/hellboundTrustPoints.xsd | 64 +++++++++---------- .../dist/game/data/spawnZones/spawnZones.xsd | 24 +++++-- 2 files changed, 51 insertions(+), 37 deletions(-) diff --git a/L2J_DataPack_BETA/dist/game/data/hellboundTrustPoints.xsd b/L2J_DataPack_BETA/dist/game/data/hellboundTrustPoints.xsd index 98567cc439..eb7ec5b0ca 100644 --- a/L2J_DataPack_BETA/dist/game/data/hellboundTrustPoints.xsd +++ b/L2J_DataPack_BETA/dist/game/data/hellboundTrustPoints.xsd @@ -1,37 +1,37 @@ <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema"> - <element name="list"> - <complexType> - <sequence minOccurs="1" maxOccurs="1"> - <element name="npc" minOccurs="1" maxOccurs="unbounded"> - <complexType> - <attribute name="id" use="required"> - <simpleType> - <restriction base="positiveInteger"> - <minInclusive value="1" /> - <maxInclusive value="65535" /> - </restriction> - </simpleType> - </attribute> - <attribute name="lowestTrustLimit" type="positiveInteger" use="optional" /> - <attribute name="maxHellboundLvl" use="required"> - <simpleType> - <restriction base="positiveInteger"> - <minInclusive value="1" /> - <maxInclusive value="100" /> - </restriction> - </simpleType> - </attribute> - <attribute name="minHellboundLvl" use="required"> - <simpleType> - <restriction base="positiveInteger"> - <minInclusive value="1" /> - <maxInclusive value="11" /> - </restriction> - </simpleType> - </attribute> - <attribute name="points" type="integer" use="required" /> - </complexType> + <element name="list"> + <complexType> + <sequence minOccurs="1" maxOccurs="1"> + <element name="npc" minOccurs="1" maxOccurs="unbounded"> + <complexType> + <attribute name="id" use="required"> + <simpleType> + <restriction base="positiveInteger"> + <minInclusive value="1" /> + <maxInclusive value="65535" /> + </restriction> + </simpleType> + </attribute> + <attribute name="lowestTrustLimit" type="positiveInteger" use="optional" /> + <attribute name="maxHellboundLvl" use="required"> + <simpleType> + <restriction base="positiveInteger"> + <minInclusive value="1" /> + <maxInclusive value="100" /> + </restriction> + </simpleType> + </attribute> + <attribute name="minHellboundLvl" use="required"> + <simpleType> + <restriction base="positiveInteger"> + <minInclusive value="1" /> + <maxInclusive value="11" /> + </restriction> + </simpleType> + </attribute> + <attribute name="points" type="integer" use="required" /> + </complexType> </element> </sequence> </complexType> diff --git a/L2J_DataPack_BETA/dist/game/data/spawnZones/spawnZones.xsd b/L2J_DataPack_BETA/dist/game/data/spawnZones/spawnZones.xsd index 80dce60141..ed21c9d45e 100644 --- a/L2J_DataPack_BETA/dist/game/data/spawnZones/spawnZones.xsd +++ b/L2J_DataPack_BETA/dist/game/data/spawnZones/spawnZones.xsd @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<schema xmlns="http://www.w3.org/2001/XMLSchema"> - <element name="list"> - <complexType> - <sequence minOccurs="1" maxOccurs="1"> +<schema xmlns="http://www.w3.org/2001/XMLSchema"> + <element name="list"> + <complexType> + <sequence minOccurs="1" maxOccurs="1"> <element name="spawnZones" minOccurs="1" maxOccurs="1"> <complexType> <sequence minOccurs="1" maxOccurs="1"> @@ -24,7 +24,21 @@ </sequence> </complexType> </element> - <element name="npc" minOccurs="1" maxOccurs="1"> <complexType> <sequence minOccurs="1" maxOccurs="1"> <element name="spawn" minOccurs="1" maxOccurs="unbounded"> <complexType> <choice minOccurs="1" maxOccurs="1"> <element name="loc" minOccurs="1" maxOccurs="1"> <complexType> <attribute name="heading" type="nonNegativeInteger" use="required" /> <attribute name="mustKill" type="boolean" use="optional" /> <attribute name="x" type="integer" use="required" /> <attribute name="y" type="integer" use="required" /> <attribute name="z" type="integer" use="required" /> </complexType> </element> + <element name="npc" minOccurs="1" maxOccurs="1"> + <complexType> + <sequence minOccurs="1" maxOccurs="1"> + <element name="spawn" minOccurs="1" maxOccurs="unbounded"> + <complexType> + <choice minOccurs="1" maxOccurs="1"> + <element name="loc" minOccurs="1" maxOccurs="1"> + <complexType> + <attribute name="heading" type="nonNegativeInteger" use="required" /> + <attribute name="mustKill" type="boolean" use="optional" /> + <attribute name="x" type="integer" use="required" /> + <attribute name="y" type="integer" use="required" /> + <attribute name="z" type="integer" use="required" /> + </complexType> + </element> <element name="zone" minOccurs="1" maxOccurs="1"> <complexType> <attribute name="count" type="positiveInteger" use="required" /> -- GitLab