updates to type conventions text based on discussion of ISSUE-595
authorStephan Zednik <zednis@rpi.edu>
Tue, 05 Mar 2013 05:45:34 -0700
changeset 5921 aaa68014f363
parent 5920 fea64b4f5925
child 5922 b49c1f2d80d1
updates to type conventions text based on discussion of ISSUE-595
xml/prov-xml.html
--- a/xml/prov-xml.html	Tue Mar 05 10:51:03 2013 +0100
+++ b/xml/prov-xml.html	Tue Mar 05 05:45:34 2013 -0700
@@ -380,7 +380,7 @@
 <h3>Type Conventions</h3>
 <section id="type-conventions-attributes">
 <h4>PROV Type Attribute</h4>
-<p>The PROV-DM states that type information is described using a the prov:type PROV attribute with and may occur multiple times for a given entity, activity, agent, or relation.</p>
+<p>The PROV-DM states type information is described using the prov:type PROV attribute and may occur multiple times for a given entity, activity, agent, or relation.</p>
 <p>PROV-XML uses the element <code>prov:type</code> to represent the prov:type PROV attribute.  This element can be use to represent both PROV and non-PROV type information.  The following examples shows type information encoded using the <code>prov:type</code> element.</p>
 <pre class="example" title="type information using prov:type PROV attribute" ignore>
 &lt;prov:document
@@ -397,7 +397,7 @@
 
 &lt;/prov:document&gt;
 </pre>
-<p>The <code>prov:type</code> element is the only mechanism to explicitly declare multiple types for an instance or declare types that are not derived from the default element type. The <code>prov:type</code> element can be used in conjunction with schema-defined PROV types (see examples 2-5).</p>
+<p>The <code>prov:type</code> element can be used in conjunction with schema-defined PROV types (see examples 2-5).</p>
 </section> <!-- end type-conventions-attributes -->
 <section id="type-conventions-extension-types">
 <h4>Extension Types</h4>
@@ -437,7 +437,7 @@
 </section><!-- end-type-conventions-extension-types -->
 <section id="type-conventions-xsi-type">
 <h4>XSI Type</h4>
-<p>Because the <code>prov:Plan</code> complexType is defined as an extension of the complexType <code>prov:Entity</code>, the following example using <code>xsi:type</code> is valid and considered equivalent to the two previous examples. The attribute <code>xsi:type</code> tells an XML parser the complexType of the element.  The value of <code>xsi:type</code> must be a complexType derived from the default element type.</p>
+<p>Because the <code>prov:Plan</code> complexType is defined as an extension of the complexType <code>prov:Entity</code>, the following example using <code>xsi:type</code> is valid and considered equivalent to the two previous examples. The attribute <code>xsi:type</code> tells an XML parser the complexType of the element.  The value of <code>xsi:type</code> must be a complexType derived from the default element type in a schema with known location (referenced through <code>xsi:schemaLocation</code>).</p>
 <pre class="example" title="type information using xsi:type" ignore>
 &lt;prov:document
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"