updated inline Document and BundleConstructor type declarations to match update to schema
authorStephan Zednik <zednis@rpi.edu>
Tue, 16 Apr 2013 20:17:31 -0600
changeset 6190 977239c10ed5
parent 6189 31e1e3f0ef59
child 6191 8a5611aaafe0
updated inline Document and BundleConstructor type declarations to match update to schema
xml/prov-xml.html
--- a/xml/prov-xml.html	Tue Apr 16 20:13:01 2013 -0600
+++ b/xml/prov-xml.html	Tue Apr 16 20:17:31 2013 -0600
@@ -1769,9 +1769,9 @@
 <p>The bundle entity associated with a bundle constructor set must have the same <code>prov:id</code> as the bundle constructor set.</p>
 <pre class="schema-type">
 &lt;xs:complexType name="BundleConstructor"&gt;
-  &lt;xs:sequence maxOccurs="unbounded"&gt;
+  &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
     &lt;-- references to standard non-PROV attribute PROV elements --&gt;
-  &lt;/xs:sequence&gt;
+  &lt;/xs:choice&gt;
   &lt;xs:attribute ref="prov:id"/&gt;
 &lt;/xs:complexType&gt;
 </pre>
@@ -1779,10 +1779,10 @@
 <p>Although <code>prov:bundleContent</code> can only be expressed at the <code>prov:document</code> level, the corresponding bundle entities may be specified at from either the <code>prov:document</code> or any <code>prov:bundleContent</code>, if at all.</p>
 <pre>
 &lt;xs:complexType name="Document"&gt;
-  &lt;xs:sequence maxOccurs="unbounded"&gt;
+  &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
     &lt;!-- references to standard non-PROV attribute PROV elements --&gt;
     &lt;xs:element name="bundleContent" type="prov:BundleConstructor" minOccurs="0"/&gt;
-  &lt;/xs:sequence&gt;
+  &lt;/xs:choice&gt;
 &lt;/xs:complexType&gt;
 </pre>
 <pre class="example" title="prov:bundleContent">
@@ -2232,10 +2232,10 @@
 </p>
 <pre class="schema-type">
 &lt;xs:complexType name="Document"&gt;
-  &lt;xs:sequence maxOccurs="unbounded"&gt;
+  &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
     &lt;!-- references to standard non-PROV attribute PROV elements --&gt;
     &lt;xs:element name="bundleContent" type="prov:BundleConstructor" minOccurs="0"/&gt;
-  &lt;/xs:sequence&gt;
+  &lt;/xs:choice&gt;
 &lt;/xs:complexType&gt;
 </pre>