mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-06 15:33:00 +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.BaseNPCController"
|
||||
id="18503" 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">
|
||||
<name display="true" send="false">Ingenious Contraption</name>
|
||||
<level>70</level>
|
||||
|
||||
Reference in New Issue
Block a user