mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-13 15:34:37 +00:00
# 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:
@@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user