Updated component defaults files to match component schema and made schema validation strict.

This commit is contained in:
2016-01-16 17:03:00 +01:00
parent b2213dbe9a
commit f65ac65e30
21 changed files with 79 additions and 45 deletions
@@ -174,7 +174,11 @@ void EntityFilePreprocessor::parseDefaults()
memset(ci.second.Defaults.get(), 0, ci.second.Meta.Stride);
XercesDOMParser parser(nullptr, XMLPlatformUtils::fgMemoryManager);
parser.setDoSchema(true);
parser.setDoNamespaces(true);
parser.setErrorHandler(&errorHandler);
parser.setValidationScheme(XercesDOMParser::Val_Always);
parser.setValidationSchemaFullChecking(true);
std::string componentName = ci.first;
LOG_DEBUG("Parsing defaults for component %s", componentName.c_str());