--- 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 :-( -->
<!--