# Initial support for automatic validation of entity template XML.

Add RelaxNG schemas for all current components.
Add -dumpSchema command-line option to dump the combined entity schema.
Add a Perl script to validate entity templates against the schema.
See #413.

This was SVN commit r7452.
This commit is contained in:
Ykkrosh
2010-04-09 19:02:39 +00:00
parent 336817a849
commit 40688ec5df
23 changed files with 518 additions and 44 deletions
+5
View File
@@ -306,3 +306,8 @@ bool CSimulation2::DeserializeState(std::istream& stream)
// TODO: need to make sure the required SYSTEM_ENTITY components get constructed
return m->m_ComponentManager.DeserializeState(stream);
}
std::string CSimulation2::GenerateSchema()
{
return m->m_ComponentManager.GenerateSchema();
}