# HG changeset patch # User IBBoard # Date 1267891302 0 # Node ID bbd86698240ae250f866daec46e5b03ad1158dc4 # Parent 9e4a78464b1aaff20e944f1122c114f08e7ffb0f 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 diff -r 9e4a78464b1a -r bbd86698240a api/Factories/Xml/WarFoundryXmlFactoryUtils.cs --- a/api/Factories/Xml/WarFoundryXmlFactoryUtils.cs Sun Feb 28 21:09:45 2010 +0000 +++ b/api/Factories/Xml/WarFoundryXmlFactoryUtils.cs Sat Mar 06 16:01:42 2010 +0000 @@ -74,6 +74,7 @@ AddSchemaToCache(cache, NS_BASE + "system", path + "system.xsd"); AddSchemaToCache(cache, NS_BASE + "army", path + "army.xsd"); settings.Schemas.Add(cache); + settings.Schemas.CompilationSettings.EnableUpaCheck = false; } return settings;