Primer: corrected the XML serialisation of plans
authorSimon Miles <simon.miles@kcl.ac.uk>
Wed, 07 Nov 2012 11:46:58 +0000
changeset 4657 45212bdad706
parent 4656 f407c1f4077a
child 4658 ef403a9fe9da
Primer: corrected the XML serialisation of plans
primer/Primer.html
--- a/primer/Primer.html	Tue Nov 06 17:49:56 2012 -0500
+++ b/primer/Primer.html	Wed Nov 07 11:46:58 2012 +0000
@@ -1610,6 +1610,9 @@
   &lt;prov:agent prov:id="ex:edith"&gt;
     &lt;prov:type&gt;prov:Person&lt;/prov:type&gt;
   &lt;/prov:agent&gt;
+  &lt;prov:entity prov:id="ex:instructions"&gt;
+    &lt;prov:type&gt;prov:Plan&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
     </pre>
    </div>
    <div class="turtle example">
@@ -1653,6 +1656,9 @@
     </pre>
    </div>
    <div class="provxml example">
+    <p>
+     In PROV-XML, the plan is an optional child of the wasAssociatedWith element.
+    </p>
     <div class="exampleheader">
      <span class="exampleheader"><b>XML Example</b>
       <a onclick="
@@ -1665,7 +1671,7 @@
   &lt;prov:wasAssociatedWith&gt;
     &lt;prov:activity prov:ref="ex:correct"/&gt;
     &lt;prov:agent prov:ref="ex:edith"/&gt;
-    &lt;prov:plan&gt;ex:instructions&lt;/prov:plan&gt;
+    &lt;prov:plan prov:ref="ex:instructions"/&gt;
   &lt;/prov:wasAssociatedWith&gt;
   &lt;prov:wasGeneratedBy&gt;
     &lt;prov:entity prov:ref="ex:dataSet2"/&gt;