From 19d35679205fad860ea7f5265ad887d5fb5d53e5 Mon Sep 17 00:00:00 2001
From: rakhimov
Date: Sat, 5 Aug 2017 00:57:17 -0700
Subject: [PATCH] Restrict mission-phase instructions in schema
The current specification allows
only 'set-house-event' and 'set-parameter' instructions.
Many other event-tree instructions and instruction directions
don't make sense within the mission-phase construct.
---
mef/schema/mission_phase.rnc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mef/schema/mission_phase.rnc b/mef/schema/mission_phase.rnc
index e52cad9..7f7033c 100644
--- a/mef/schema/mission_phase.rnc
+++ b/mef/schema/mission_phase.rnc
@@ -9,5 +9,5 @@ phase-definition =
attribute time-fraction { xsd:double },
label?,
attributes?,
- instruction*
+ (set-house-event | set-parameter)*
}