--- a/xml/prov-xml.html Thu Feb 28 00:22:51 2013 +0100
+++ b/xml/prov-xml.html Thu Feb 28 01:31:28 2013 -0700
@@ -35,6 +35,7 @@
<script src="https://www.w3.org/Tools/respec/respec-w3c-common" class="remove" async></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" class="remove"></script>
+ <script src="../model/prov-magic.js" class="remove"></script>
<script src="../model/glossary.js" class="remove"></script>
<script src="../model/provbib.js" class="remove"></script>
@@ -59,27 +60,31 @@
.before("<p>The following is an example of using <code>"+$(this).attr("title")+"</code> in PROV-XML.</p>");
});
- //$("schema-attribute")...
});
</script>
<script class="remove">
$(function(){
// if glossary is in a string:
- $('#glossary_div').html(glossary_string).hide()
- //updateGlossaryRefs();
-
- $('.glossary-ref').each(function(index) {
- var ref=$(this).attr('data-ref');
- var span=$(this).attr('data-withspan');
- $(this).removeAttr('data-withspan');
- $(this).removeAttr('data-ref');
-
- $('#'+ref+'.glossary').contents().clone().appendTo($(this));
- if (span) {
- $(this).children('dfn').replaceWith(function(){return $('<span>').addClass('dfn').append($(this).contents())});
- }
- });
+ $('#glossary_div').html(glossary_string)
+ updateGlossaryRefs();
+ updateFigCaptions();
+ updateCaptions();
+ updateExamples();
+ updateExamplesRefs();
+
+
+ if (typeof String.prototype.startsWith != 'function') {
+ String.prototype.startsWith = function (str) {
+ return this.indexOf(str) == 0;
+ };
+ }
+
+ if (typeof String.prototype.contains != 'function') {
+ String.prototype.contains = function (str) {
+ return this.indexOf(str) >= 0;
+ };
+ }
});
</script>
@@ -120,7 +125,7 @@
// if you wish the publication date to be other than today, set this
- //publishDate: "2012-12-11",
+ publishDate: "2013-03-12",
// if the specification's copyright date is a range of years, specify
// the start date here:
@@ -183,10 +188,8 @@
// Add extraReferences to bibliography database
preProcess: [addExtraReferences, addProvReferences],
-
- //postProcess: [updateSectionRefs, updateDfn, updateFigures, checkLinksToW3CReports, setContributors, setColoredDiffs]
-
- // will we have a postProcess?
+
+ postProcess: [updateSectionRefs, updateDfn, updateFigures, checkLinksToW3CReports, setContributors, setColoredDiffs, checkFragments],
};
</script>
</head>
@@ -196,7 +199,7 @@
<p>
Provenance is information about entities, activities, and people involved in producing a piece of data or thing, which can be used to form assessments about its quality, reliability or trustworthiness. PROV-DM is the conceptual data model that forms a basis for the W3C provenance (PROV) family of specifications. It defines a concepts for expressing provenance information enabling interchange. This document introduces an XML schema for the PROV data model (PROV-DM), allowing instances of the PROV data model to be serialized in XML.
</p>
-<p>The <a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/">PROV Document Overview</a> describes the overall state of PROV, and should be read before other PROV documents.</p>
+<p>The <a href="http://www.w3.org/TR/2012/WD-prov-overview-20130312/">PROV Document Overview</a> describes the overall state of PROV, and should be read before other PROV documents.</p>
</section> <!-- end abstract -->
<section id="sotd">
@@ -212,9 +215,10 @@
<li> <a href="http://www.w3.org/TR/2013/PR-prov-constraints-20130312/">PROV-CONSTRAINTS</a> (Proposed Recommendation), a set of constraints applying to the PROV data model [[!PROV-CONSTRAINTS]];</li>
<li> <a href="http://www.w3.org/TR/2013/WD-prov-xml-20130312/">PROV-XML</a> (To be published as Note), an XML schema for the PROV data model (this document);</li>
<li> <a href="http://www.w3.org/TR/2013/WD-prov-aq-20130312/">PROV-AQ</a> (To be published as Note), the mechanisms for accessing and querying provenance [[PROV-AQ]]; </li>
-<li> <a href="http://www.w3.org/TR/2013/WD-prov-dictionary-20130312/">PROV-DICTIONARY</a> (To be published as Note), introduces a specific type of collection, consisting of key-entity pairs [[PROV-DICTIONARY]];</li>
-<li> <a href="http://www.w3.org/TR/2013/WD-prov-dc-20130312/">PROV-DC</a> (To be published as Note), provides a mapping between PROV and Dublic Core Terms [[PROV-DC]];</li>
-<li> <a href="http://www.w3.org/TR/2013/WD-prov-links-20130312/">PROV-LINKS</a> (To be published as Note), introduces a mechanism to link across bundles [[PROV-LINKS]].</li>
+<li> <a href="http://www.w3.org/TR/2013/WD-prov-dictionary-20130312/">PROV-DICTIONARY</a> (To be published as Note) introduces a specific type of collection, consisting of key-entity pairs [[PROV-DICTIONARY]];</li>
+<li> <a href="http://www.w3.org/TR/2013/WD-prov-dc-20130312/">PROV-DC</a> (To be published as Note) provides a mapping between PROV and Dublic Core Terms [[PROV-DC]];</li>
+<li> <a href="http://www.w3.org/TR/2013/WD-prov-sem-20130312/">PROV-SEM</a> (To be published as Note), a declarative specification in terms of first-order logic of the PROV data model [[PROV-SEM]];</li>
+<li> <a href="http://www.w3.org/TR/2013/WD-prov-links-20130312/">PROV-LINKS</a> (To be published as Note) introduces a mechanism to link across bundles [[PROV-LINKS]].</li>
</ul>
</section> <!-- end sotd -->
@@ -634,7 +638,7 @@
<section id="term-Entity">
<h4>Entity</h4>
-<div class="glossary-ref" data-ref="glossary-entity"></div>
+<span class="glossary-ref" data-ref="glossary-entity" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Entity">
<xs:sequence>
@@ -670,7 +674,7 @@
<section id="term-Activity">
<h4>Activity</h4>
-<div class="glossary-ref" data-ref="glossary-activity"></div>
+<span class="glossary-ref" data-ref="glossary-activity" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Activity">
<xs:sequence>
@@ -708,7 +712,7 @@
<section id="term-Generation">
<h4>Generation</h4>
-<div class="glossary-ref" data-ref="glossary-generation"></div>
+<span class="glossary-ref" data-ref="glossary-generation" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Generation">
<xs:sequence>
@@ -759,7 +763,7 @@
<section id="term-Usage">
<h4>Usage</h4>
-<div class="glossary-ref" data-ref="glossary-usage"></div>
+<span class="glossary-ref" data-ref="glossary-usage" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Usage">
<xs:sequence>
@@ -810,7 +814,7 @@
<section id="term-Communication">
<h4>Communication</h4>
-<div class="glossary-ref" data-ref="glossary-communication"></div>
+<span class="glossary-ref" data-ref="glossary-communication" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Communication">
<xs:sequence>
@@ -852,7 +856,7 @@
<section id="term-Start">
<h4>Start</h4>
-<div class="glossary-ref" data-ref="glossary-start"></div>
+<span class="glossary-ref" data-ref="glossary-start" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Start">
<xs:sequence>
@@ -927,7 +931,7 @@
<section id="term-End">
<h4>End</h4>
-<div class="glossary-ref" data-ref="glossary-end"></div>
+<span class="glossary-ref" data-ref="glossary-end" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="End">
<xs:sequence>
@@ -974,7 +978,7 @@
<section id="term-Invalidation">
<h4>Invalidation</h4>
-<div class="glossary-ref" data-ref="glossary-invalidation"></div>
+<span class="glossary-ref" data-ref="glossary-invalidation" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Invalidation">
<xs:sequence>
@@ -1031,7 +1035,7 @@
<section id="term-Derivation">
<h4>Derivation</h4>
-<div class="glossary-ref" data-ref="glossary-derivation"></div>
+<span class="glossary-ref" data-ref="glossary-derivation" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Derivation">
<xs:sequence>
@@ -1078,7 +1082,7 @@
<section id="term-Revision">
<h4>Revision</h4>
-<div class="glossary-ref" data-ref="glossary-revision"></div>
+<span class="glossary-ref" data-ref="glossary-revision" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Revision">
<xs:complexContent>
@@ -1117,7 +1121,7 @@
<section id="term-Quotation">
<h4>Quotation</h4>
-<div class="glossary-ref" data-ref="glossary-quotation"></div>
+<span class="glossary-ref" data-ref="glossary-quotation" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Quotation">
<xs:complexContent>
@@ -1167,7 +1171,7 @@
<section id="term-Primary-Source">
<h4>Primary Source</h4>
-<div class="glossary-ref" data-ref="glossary-primary-source"></div>
+<span class="glossary-ref" data-ref="glossary-primary-source" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="PrimarySource">
<xs:complexContent>
@@ -1213,7 +1217,7 @@
<section id="term-Agent">
<h4>Agent</h4>
-<div class="glossary-ref" data-ref="glossary-agent"></div>
+<span class="glossary-ref" data-ref="glossary-agent" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Agent">
<xs:sequence>
@@ -1247,7 +1251,7 @@
<section id="term-Person">
<h5>Person</h5>
-<div class="glossary-ref" data-ref="glossary-person"></div>
+<span class="glossary-ref" data-ref="glossary-person" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Person">
<xs:complexContent>
@@ -1274,7 +1278,7 @@
<section id="term-Organization">
<h5>Organization</h5>
-<div class="glossary-ref" data-ref="glossary-organization"></div>
+<span class="glossary-ref" data-ref="glossary-organization" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Organization">
<xs:complexContent>
@@ -1301,7 +1305,7 @@
<section id="term-SoftwareAgent">
<h5>Software Agent</h5>
-<div class="glossary-ref" data-ref="glossary-software-agent"></div>
+<span class="glossary-ref" data-ref="glossary-software-agent" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="SoftwareAgent">
<xs:complexContent>
@@ -1330,7 +1334,7 @@
<section id="term-Attribution">
<h4>Attribution</h4>
-<div class="glossary-ref" data-ref="glossary-attribution"></div>
+<span class="glossary-ref" data-ref="glossary-attribution" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Attribution">
<xs:sequence>
@@ -1386,7 +1390,7 @@
<section id="term-Association">
<h4>Association</h4>
-<div class="glossary-ref" data-ref="glossary-association"></div>
+<span class="glossary-ref" data-ref="glossary-association" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Association">
<xs:sequence>
@@ -1449,7 +1453,7 @@
<section id="term-Plan">
<h5>Plan</h5>
-<div class="glossary-ref" data-ref="glossary-plan"></div>
+<span class="glossary-ref" data-ref="glossary-plan" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Plan">
<xs:complexContent>
@@ -1507,7 +1511,7 @@
<section id="term-Delegation">
<h4>Delegation</h4>
-<div class="glossary-ref" data-ref="glossary-delegation"></div>
+<span class="glossary-ref" data-ref="glossary-delegation" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Delegation">
<xs:sequence>
@@ -1583,7 +1587,7 @@
<section id="term-Influence">
<h4>Influence</h4>
-<div class="glossary-ref" data-ref="glossary-influence"></div>
+<span class="glossary-ref" data-ref="glossary-influence" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Influence">
<xs:sequence>
@@ -1626,7 +1630,7 @@
<p>The fourth component is concerned with bundles, a mechanism to support provenance of provenance.</p>
<section id="term-Bundle">
<h4>Bundle</h4>
-<div class="glossary-ref" data-ref="glossary-bundle"></div>
+<span class="glossary-ref" data-ref="glossary-bundle" data-withspan="true"></span>
<p>A <code>prov:Bundle</code> identifies a set of provenance descriptions, and is an extension of <code>prov:Entity</code>, so allowing provenance of provenance to be expressed by referencing the associated entity. The content of a bundle, i.e. its provenance records, can be represented by the <code>prov:BundleConstructor</code> complexType and can be specified with the <code>prov:bundleContent</code> element, its <code>prov:id</code> corresponds to the bundle entity.</p>
<pre class="schema-type">
<xs:complexType name="Bundle">
@@ -1745,7 +1749,7 @@
<section id="term-Specialization">
<h4>Specialization</h4>
-<div class="glossary-ref" data-ref="glossary-specialization"></div>
+<span class="glossary-ref" data-ref="glossary-specialization" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Specialization">
<xs:sequence>
@@ -1778,7 +1782,7 @@
<section id="term-Alternate">
<h4>Alternate</h4>
-<div class="glossary-ref" data-ref="glossary-alternate"></div>
+<span class="glossary-ref" data-ref="glossary-alternate" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Alternate">
<xs:sequence>
@@ -1825,7 +1829,7 @@
<section id="term-Collection">
<h4>Collection</h4>
-<div class="glossary-ref" data-ref="glossary-collection"></div>
+<span class="glossary-ref" data-ref="glossary-collection" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Collection">
<xs:complexContent>
@@ -1851,7 +1855,7 @@
<section id="term-EmptyCollection">
<h5>Empty Collection</h5>
-<div class="glossary-ref" data-ref="glossary-empty-collection"></div>
+<span class="glossary-ref" data-ref="glossary-empty-collection" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="EmptyCollection">
<xs:complexContent>
@@ -1880,7 +1884,7 @@
<section id="term-Membership">
<h4>Membership</h4>
-<div class="glossary-ref" data-ref="glossary-membership"></div>
+<span class="glossary-ref" data-ref="glossary-membership" data-withspan="true"></span>
<pre class="schema-type">
<xs:complexType name="Membership">
<xs:sequence>
@@ -1924,7 +1928,7 @@
<section id="attribute-Identifier">
<h4>Identifier</h4>
-<div class="glossary-ref" data-ref="glossary-identifier"></div>
+<span class="glossary-ref" data-ref="glossary-identifier" data-withspan="true"></span>
<p>The identifier attribute is used to identify instances of PROV types or relations.</p>
<pre class="schema-attribute" attribute="prov:id" schemaType="xs:QName">
<xs:attribute xmlns:xs="http://www.w3.org/2001/XMLSchema" name="id" type="xs:QName"/>
@@ -1948,7 +1952,7 @@
<section id="attribute-Reference">
<h4>Reference</h4>
-<div class="glossary-ref" data-ref="glossary-identifier"></div>
+<span class="glossary-ref" data-ref="glossary-identifier" data-withspan="true"></span>
<p>A reference-by-id to a PROV entity, activity, agent, or relation.</p>
<pre class="schema-attribute" attribute="prov:ref" schemaType="xs:QName">
<xs:attribute ref="prov:ref" use="required" />
@@ -1979,7 +1983,7 @@
<section id="element-Label">
<h5>Label</h5>
-<div class="glossary-ref" data-ref="glossary-label"></div>
+<span class="glossary-ref" data-ref="glossary-label" data-withspan="true"></span>
<pre class="prov-attribute" element="prov:label" schemaType="prov:InternationalizedString">
<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="label" type="prov:InternationalizedString"/>
</pre>
@@ -2003,7 +2007,7 @@
<section id="element-Location">
<h5>Location</h5>
-<div class="glossary-ref" data-ref="glossary-location"></div>
+<span class="glossary-ref" data-ref="glossary-location" data-withspan="true"></span>
<pre class="prov-attribute" element="prov:location" schemaType="xs:anySimpleType">
<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="location" type="xs:anySimpleType"/>
</pre>
@@ -2030,7 +2034,7 @@
<section id="element-Role">
<h5>Role</h5>
-<div class="glossary-ref" data-ref="glossary-role"></div>
+<span class="glossary-ref" data-ref="glossary-role" data-withspan="true"></span>
<pre class="prov-attribute" element="prov:role" schemaType="xs:anySimpleType">
<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="role" type="xs:anySimpleType"/>
</pre>
@@ -2062,7 +2066,7 @@
<section id="element-Type">
<h5>Type</h5>
-<div class="glossary-ref" data-ref="glossary-type"></div>
+<span class="glossary-ref" data-ref="glossary-type" data-withspan="true"></span>
<pre class="prov-attribute" element="prov:type" schemaType="xs:anySimpleType">
<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="type" type="xs:anySimpleType"/>
</pre>
@@ -2098,7 +2102,7 @@
<section id="element-Value">
<h5>Value</h5>
-<div class="glossary-ref" data-ref="glossary-value-attribute"></div>
+<span class="glossary-ref" data-ref="glossary-value-attribute" data-withspan="true"></span>
<pre class="prov-attribute" element="prov:value" schemaType="xs:anySimpleType">
<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="value" type="xs:anySimpleType"/>
</pre>
@@ -2125,7 +2129,7 @@
<section id="type-value">
<h4>Value</h4>
-<div class="glossary-ref" data-ref="glossary-value"></div>
+<span class="glossary-ref" data-ref="glossary-value" data-withspan="true"></span>
<p>Relations defined by the PROV-DM to have type Value have type <code>xs:anySimpleType</code> in PROV-XML unless otherwise specified.</p>
</section> <!-- end type-Value -->