diff api/Factories/Xml/WarFoundryXmlFactoryUtils.cs @ 224:f097888efcfe

Fixes #233: "unitPoints" attribute is badly named * Rename "unitPoints" to "basePoints" * Re-order schema to more sensible name * Use new name in code when parsing XML (object property already has sensible name) Also: * Rename "dtds" folder to more accurate "schemas" * Change references to folder in code
author IBBoard <dev@ibboard.co.uk>
date Mon, 14 Dec 2009 20:50:39 +0000
parents a1a6b527cd70
children bbd86698240a
line wrap: on
line diff
--- a/api/Factories/Xml/WarFoundryXmlFactoryUtils.cs	Mon Dec 14 20:19:01 2009 +0000
+++ b/api/Factories/Xml/WarFoundryXmlFactoryUtils.cs	Mon Dec 14 20:50:39 2009 +0000
@@ -67,7 +67,7 @@
 				settings.ProhibitDtd = true;
 				settings.ValidationEventHandler+= new ValidationEventHandler(ValidationEventMethod);
 				XmlSchemaSet cache = new XmlSchemaSet();
-				string path =  IBBoard.Constants.ExecutablePath + "/dtds/";
+				string path =  IBBoard.Constants.ExecutablePath + "/schemas/";
 				AddSchemaToCache(cache, NS_BASE + "core", path + "warfoundry-core.xsd");
 				AddSchemaToCache(cache, NS_BASE + "cats", path + "warfoundry-cats.xsd");
 				AddSchemaToCache(cache, NS_BASE + "race", path + "race.xsd");