mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-12 02:02:51 +00:00
Add XML validation for templates
This commit adds an XSD file for each template type to that validation can take place. If there is any error in XML files, it can be easily detected by reading the error in the validation log.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13018" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13019" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13020" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13021" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13022" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13023" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13024" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13025" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13026" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13027" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13028" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13029" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<npc
|
||||
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
||||
id="13030" xsi:schemaLocation="npc ../../npc.xsd"
|
||||
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
||||
<info aggressive="false" targetable="true" attackable="true">
|
||||
<level>70</level>
|
||||
<race>OTHER</race>
|
||||
|
||||
Reference in New Issue
Block a user