From 3f08c6e4a0fff3dc42c6ecc89f78609c8c17af8a Mon Sep 17 00:00:00 2001
From: rakhimov
Date: Sat, 10 Dec 2016 22:47:59 -0800
Subject: [PATCH] Add CCF-event reporting schema in Report layer
Reporting of events generated by analysis with CCF models
is a bit cumbersome (ugly).
Tools tend to be creative in representing these surrogate events.
The use of reporting schema has been tested in SCRAM,
and it seems to capture the most needed information about the CCF event.
Note:
"literal-event" is probably not the best name;
it was chosen just to avoid clutter.
---
mef/schema/sum_of_products.rnc | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/mef/schema/sum_of_products.rnc b/mef/schema/sum_of_products.rnc
index f5eb627..90bfc05 100644
--- a/mef/schema/sum_of_products.rnc
+++ b/mef/schema/sum_of_products.rnc
@@ -13,6 +13,13 @@ product =
literal*
}
-literal =
+literal = literal-event | element not { literal-event }
+
+literal-event =
element basic-event { name }
- | element not { element basic-event { name } }
+ | element ccf-event {
+ attribute ccf-group { name },
+ attribute order { xsd:positiveInteger },
+ attribute group-size { xsd:positiveInteger },
+ element basic-event { name }+
+ }