# 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
+6
View File
@@ -23,6 +23,12 @@ IComponent::~IComponent()
{
}
std::string IComponent::GetSchema()
{
// No schema specified -> allow only empty elements
return "<empty/>";
}
void IComponent::HandleMessage(const CSimContext& UNUSED(context), const CMessage& UNUSED(msg), bool UNUSED(global))
{
}