comparison api/Factories/Xml/WarFoundryXmlFactoryUtils.cs @ 245:bbd86698240a

Re #152: Test and fix extensibility of current schemas * Disable UPA (Unique Particle Attribution) check to get same behaviour in .Net as Mono and as new XML Schema 1.1 draft * Unit test with extended schema now passes. More tests needed
author IBBoard <dev@ibboard.co.uk>
date Sat, 06 Mar 2010 16:01:42 +0000
parents f097888efcfe
children 3f14a792fd41
comparison
equal deleted inserted replaced
244:9e4a78464b1a 245:bbd86698240a
72 AddSchemaToCache(cache, NS_BASE + "cats", path + "warfoundry-cats.xsd"); 72 AddSchemaToCache(cache, NS_BASE + "cats", path + "warfoundry-cats.xsd");
73 AddSchemaToCache(cache, NS_BASE + "race", path + "race.xsd"); 73 AddSchemaToCache(cache, NS_BASE + "race", path + "race.xsd");
74 AddSchemaToCache(cache, NS_BASE + "system", path + "system.xsd"); 74 AddSchemaToCache(cache, NS_BASE + "system", path + "system.xsd");
75 AddSchemaToCache(cache, NS_BASE + "army", path + "army.xsd"); 75 AddSchemaToCache(cache, NS_BASE + "army", path + "army.xsd");
76 settings.Schemas.Add(cache); 76 settings.Schemas.Add(cache);
77 settings.Schemas.CompilationSettings.EnableUpaCheck = false;
77 } 78 }
78 79
79 return settings; 80 return settings;
80 } 81 }
81 82