Minor tweaks to example
authorStian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Tue, 12 Feb 2013 13:01:50 +0000
changeset 5532 45e1e035b455
parent 5517 fc65e51a0248
child 5533 0bb02b43e80b
Minor tweaks to example
xml/examples/with-extensions.xml
--- a/xml/examples/with-extensions.xml	Fri Feb 08 16:58:53 2013 +0000
+++ b/xml/examples/with-extensions.xml	Tue Feb 12 13:01:50 2013 +0000
@@ -42,14 +42,15 @@
     </prov:entity>
 
     <prov:person prov:id="fred">
-        <!-- Can't use FOAF, as there is no XML Schema! :-( -->
-        <!-- 
-          <foaf:name>Fred</foaf:name> 
-        -->
+    	<prov:label>Fred</prov:label>
+        <!-- Can't use  <foaf:name>, as there is no XML Schema! :-( -->
 
         <xhtml:p>
             A <xhtml:strong>nice</xhtml:strong>    person
         </xhtml:p>
+        <!-- 
+        <prov:location>Not allowed AFTER xs:any</prov:location>
+         -->
     </prov:person>
 
     <!--  An <xs:any> element from a non-PROV schema -->
@@ -69,9 +70,9 @@
         </mrow>
 
         <!-- arbitrary nesting allowed back to prov because
-        of xs:any in mathml. Note that this prov:wasAttributedTo
+        of xs:any in MathML. Note that this prov:wasAttributedTo
         should NOT be picked up by a PROV-XML-only parser, at least
-        not as a part of the <prov:document>.
+        not as a part of the <prov:document>
          -->
         <prov:wasAttributedTo>
             <prov:entity prov:ref="formula"></prov:entity>
@@ -85,14 +86,14 @@
     <!-- prov:elements also allowed AFTER extensions -->
     
     <prov:bundle prov:id="bundle1">
-        
-        <!--  Inside a prov:bundle <xs:any> must be *before* 
-        the prov:entity -->
-        
+        <prov:label>A bundle</prov:label>
+
+        <!--  Inside a prov:bundle <xs:any> elements must be *before* 
+        the prov:activity, but *after* what prov:Entity allows -->
         <mathml:mi>a</mathml:mi>
         
-        <prov:entity prov:id="bunddleEntity">
-        </prov:entity>
+        <prov:activity prov:id="bunddleEntity">
+        </prov:activity>
         
         <!--  Not allowed :-( -->
         <!--