updated grammar for activity
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Wed, 14 Mar 2012 22:46:53 +0000
changeset 1906 109e22e276ea
parent 1905 5e6cc45426fc
child 1907 502bf4c523c2
updated grammar for activity
model/working-copy/wd5-prov-n.html
--- a/model/working-copy/wd5-prov-n.html	Wed Mar 14 14:16:20 2012 +0000
+++ b/model/working-copy/wd5-prov-n.html	Wed Mar 14 22:46:53 2012 +0000
@@ -452,10 +452,10 @@
 <span class="name">activity</span>
 <span class="name">(</span>
 <span class="nonterminal">identifier</span>
+<span class="optional"><span class="name">,</span>
+(<span class="nonterminal">time</span> | '-' )
 <span class="name">,</span>
-<span class="optional"><span class="nonterminal">time</span></span>
-<span class="name">,</span>
-<span class="optional"><span class="nonterminal">time</span></span>
+(<span class="nonterminal">time</span> | '-' )</span>
 <span class="nonterminal">optional-attribute-values</span>
 <span class="name">)</span>
 </div>
@@ -463,9 +463,13 @@
 
 <div class="anexample">
 <pre class="codeexample">
-activity(ex:edit1,,)
-activity(ex:edit1,,,[prov:type="edit"])
-activity(ex:a0, 2011-11-16T16:00:00,,[prov:type="createFile"])
+activity(ex:edit1)
+activity(ex:a0, 2011-11-16T16:00:00,-)
+activity(ex:a0, -, 2011-11-16T16:00:00)
+activity(ex:edit1,-,-)
+activity(ex:edit1,[prov:type="edit"])
+activity(ex:edit1,-,-, [prov:type="edit"])
+activity(ex:a0, 2011-11-16T16:00:00,-,[prov:type="createFile"])
 activity(ex:a0, 2011-11-16T16:00:00, 2011-11-16T16:00:01, [prov:type="createFile"])
 </pre>
 </div>