reorganized javascript in dm
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Sat, 24 Nov 2012 22:54:15 +0000
changeset 4942 3609547e8546
parent 4941 1a27676915ae
child 4943 124073f24635
reorganized javascript in dm
model/diff.html
model/prov-dm.html
model/releases/CR-prov-dm-20121211/Overview.html
model/releases/CR-prov-dm-20121211/diff.html
--- a/model/diff.html	Fri Nov 23 20:45:59 2012 +0000
+++ b/model/diff.html	Sat Nov 24 22:54:15 2012 +0000
@@ -8,16 +8,33 @@
 .tagDelete { background-color: #770000; color: #ffffff }
 
 --></style> 
-    <title>PROV-DM: The PROV Data Model</title> 
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
+     
+<title>PROV-DM: The PROV Data Model</title> 
+     
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
     
 
 
-    <style type="text/css"><span class="delete">
+     
+
+ 
+
+
+
+
+
+
+
+
+
+
+
+ 
+<style type="text/css"><span class="delete">
 
 /* --- EDITORIAL NOTES --- */
 .component1-color</span><span class="insert">
-      .note</span> {<span class="delete">
+.note</span> {<span class="delete">
  background-color: rgba(255,42,42,0.2);
 </span><span class="insert"> font-size:small; margin-left:50px </span>}
 
@@ -496,14 +513,14 @@
 	padding: <span class="delete">0px;</span><span class="insert">2px;</span>
 	border-style: solid;
 	border-color: gray;
-}
-<span class="delete">table.thinborder td {
+}<span class="delete">
+table.thinborder td {
 	border-width: 1px;
 	padding: 2px;
 	border-style: solid;
 	border-color: gray;
 }
-</span></style>
+</span>
 
      
     
@@ -517,93 +534,6 @@
   
 
 
-     
-
-    
-
-    <script type="text/javascript">
-/*
-	Written by Jonathan Snook, http://www.snook.ca/jonathan
-	Add-ons by Robert Nyman, http://www.robertnyman.com
-	Author says "The credit comment is all it takes, no license. Go crazy "
-	From http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/
-*/
-
-function setContributors () {
-    $('dt').each(function(index) {
-        var content=$(this).text();
-        if (content== "Authors:") {
-         console.log( "content " +  content);
-         $(this).text("Contributors:")
-        }
-    })
-}
-
-function setColoredDiffs () {
-    $('dt').each(function(index) {
-        var content=$(this).text();
-        if (content== "Previous version:") {
-         console.log( "content " +  content);
-	  $(this).next().append(" ").append($('<a>').attr('href','diff.html').append("(colored-coded diff)"));
-        }
-    })
-}
-
-
-function getElementsByClassName(oElm, strTagName, oClassNames){
-	var arrElements = (! (! (strTagName == "*") || ! (oElm.all)))? oElm.all : oElm.getElementsByTagName(strTagName);
-	var arrReturnElements = new Array();
-	var arrRegExpClassNames = new Array();
-	if(typeof oClassNames == "object"){
-		for(var i=0; !(i>=oClassNames.length); i++){ /*>*/
-			arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames[i].replace(/\-/g, "\-") + "(\s|$)"));
-		}
-	}
-	else{
-		arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames.replace(/\-/g, "\-") + "(\s|$)"));
-	}
-	var oElement;
-	var bMatchesAll;
-	for(var j=0; !(j>=arrElements.length); j++){ /*>*/
-		oElement = arrElements[j];
-		bMatchesAll = true;
-		for(var k=0; !(k>=arrRegExpClassNames.length); k++){ /*>*/
-			if(!arrRegExpClassNames[k].test(oElement.className)){
-				bMatchesAll = false;
-				break;
-			}
-		}
-		if(bMatchesAll){
-			arrReturnElements.push(oElement);
-		}
-	}
-	return (arrReturnElements)
-}
-
-function set_display_by_class(el, cls, newValue) {
-   var e = getElementsByClassName(document, el, cls);
-   if (e != null) {
-      for (var i=0; !(i>=e.length); i++) {
-        e[i].style.display = newValue;
-      }
-   }
-}
-
-function set_display_by_id(id, newValue) {
-   var e = document.getElementById(id);
-   if (e != null) {
-     e.style.display = newValue;
-   }
-}
-</script> 
-    
-
-    
-
-    
-
-     
-  <style type="text/css">
 /*****************************************************************
  * ReSpec CSS
  * Robin Berjon (robin at berjon dot com)
@@ -4873,9 +4803,9 @@
 <h2><span class="secno">7. </span>Creating Valid Provenance</h2>
 
 
-<ul>
-
-<li>This specification defines PROV-DM, a data model that allows 
+
+
+<p>This specification defines PROV-DM, a data model that allows 
 descriptions of the people, institutions, entities, and activities,
 involved in producing, influencing, or delivering a piece of data or a
 thing to be expressed.  However, with this data model, it is also possible to compose
@@ -4885,17 +4815,22 @@
 generation.  A set of constraints have been defined for <span class="delete">PROV-DM</span><span class="insert">PROV</span> and
 can be found in a companion specification [<cite><a class="bibref" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>].
 They <em class="rfc2119" title="should">should</em> be used by developers to compose provenance descriptions that are valid, and
-by implementers of reasoning engines aiming to check whether provenance descriptions have problems. </li>
-
-
-
-<li>
+by implementers of reasoning engines aiming to check whether provenance descriptions have problems. 
+
+
+
+
+</p>
+
+
+
+
 <p> The example of <a href="#prov-dm-example">section 3</a> contains identifiers such as <span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">tr:WD-prov-dm-20111215</a></span>, which denotes a specific version of a technical report.  On the other hand, <span class="delete">a URI</span><span class="insert">an IRI</span> such as <a href="http://www.w3.org/TR/prov-dm/">http://www.w3.org/TR/prov-dm/</a> denotes the latest version of a document. One needs to ensure that provenance descriptions for the latter resource remain valid as the resource state changes. </p>
 
 <p>To this end, <span class="delete">PROV-DM</span><span class="insert">PROV</span> allows asserters to describe "<em>partial states</em>" of entities by means of attributes and associated values. Some further constraints apply to the use of these attributes, since the values associated with them are expected to remain unchanged for some period of time. The constraints associated to attributes allow provenance descriptions to be refined, they can also be found in the companion specification [<cite><a class="bibref" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>].</p>
 
 
-</li>
+
 
 
 
@@ -4908,7 +4843,7 @@
 
 
 
-</ul>
+
 
 
 </section>
@@ -5279,7 +5214,7 @@
 <span class="delete">[PROV-O]</span><span class="delete">Timothy Lebo, Satya Sahoo and Deborah McGuinness (eds.) Khalid Belhajjame, James Cheney, David Corsar, Daniel Garijo, Stian Soiland-Reyes, and Stephan Zednik </span><span class="delete">Provenance Formal Model</span><span class="delete">. 2011, Working Draft. URL: </span><span class="delete">http://www.w3.org/TR/prov-o/</span><a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-overview-20121211/</span></a>
 </dd><dt id="bib-PROV-PRIMER">[PROV-PRIMER]</dt><dd>Yolanda <span class="delete">Gil and</span><span class="insert">Gil;</span> Simon <span class="delete">Miles (eds.) Khalid Belhajjame, Helena Deus, Daniel Garijo, Graham Klyne, Paolo Missier, Stian Soiland-Reyes, and Stephan Zednik </span><span class="insert">Miles; eds. </span><a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/"><cite>Prov Model Primer</cite></a>. <span class="delete">2011,</span><span class="insert">11 December 2012,</span> Working Draft. URL: <span class="delete">http://www.w3.org/TR/prov-primer/</span><a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-primer-20121211/</span></a>
 </dd><dt id="bib-PROV-XML"><span class="insert">[PROV-XML]</span></dt><dd><span class="insert">Hook Hua; Curt Tilmes; Stephan Zednik; eds. </span><a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><cite><span class="insert">PROV-XML: The PROV XML Schema</span></cite></a><span class="insert">. 11 December 2012, Working Draft. URL: </span><a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-xml-20121211/</span></a>
-</dd><dt id="bib-RDF-CONCEPTS11">[RDF-CONCEPTS11]</dt><dd>Richard <span class="delete">Cyganiak and</span><span class="insert">Cyganiak;</span> David <span class="delete">Wood (eds.)</span><span class="insert">Wood; eds.</span> RDF 1.1 Concepts and Abstract Syntax <a href="http://www.w3.org/TR/rdf11-concepts/"><cite>RDF 1.1 Concepts and Abstract Syntax</cite></a>. URL: <a href="http://www.w3.org/TR/rdf11-concepts/">http://www.w3.org/TR/rdf11-concepts/</a>
+</dd><dt id="bib-RDF-CONCEPTS11">[RDF-CONCEPTS11]</dt><dd>Richard <span class="delete">Cyganiak and</span><span class="insert">Cyganiak;</span> David <span class="delete">Wood (eds.)</span><span class="insert">Wood; eds.</span> RDF 1.1 Concepts and Abstract Syntax <a href="http://www.w3.org/TR/rdf11-concepts/"><cite>RDF 1.1 Concepts and Abstract Syntax</cite></a>. <span class="insert">Working Draft. </span>URL: <a href="http://www.w3.org/TR/rdf11-concepts/">http://www.w3.org/TR/rdf11-concepts/</a>
 </dd><dt id="bib-UML"><span class="insert">[UML]</span></dt><dd><span class="insert">Object Management Group </span><a href="http://www.omg.org/spec/UML/2.0/Superstructure/PDF/"><cite><span class="insert">Unified Modeling Language: Superstructure</span></cite></a><span class="insert">. version 2.0, 2005 URL: </span><a href="http://www.omg.org/spec/UML/2.0/Superstructure/PDF/"><span class="insert">http://www.omg.org/spec/UML/2.0/Superstructure/PDF/</span></a>
 </dd></dl></section></section></body></html>
 
--- a/model/prov-dm.html	Fri Nov 23 20:45:59 2012 +0000
+++ b/model/prov-dm.html	Sat Nov 24 22:54:15 2012 +0000
@@ -2,301 +2,39 @@
 >
 
 <html><head> 
-    <title>PROV-DM: The PROV Data Model</title> 
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
-    <!-- 
-      === NOTA BENE ===
-      For the three scripts below, if your spec resides on dev.w3 you can check them
-      out in the same tree and use relative links so that they'll work offline,
-     -->
-
-<!-- see http://www.somacon.com/p141.php for table configuration -->
-    <style type="text/css">
-      .note { font-size:small; margin-left:50px }
-
-.diamond {
-    font-weight: normal;
-    font-style: normal;
-    font-size:100%;
-    font-family: sans-serif;
-}
-
-table.thinborder {
-	border-width: 1px;
-	border-spacing: 0px;
-	border-style: none;
-	border-color: gray;
-	border-collapse: collapse;
-}
-
-table.thinborder th {
-	border-width: 1px;
-	padding: 0px;
-	border-style: solid;
-	border-color: gray;
-}
-
-table.thinborder td {
-	border-width: 1px;
-	padding: 2px;
-	border-style: solid;
-	border-color: gray;
-}
-</style>
-
-<!--    <script src="http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js" class="remove"></script>   -->
-    <script src="http://www.w3.org/Tools/respec/respec-w3c-common" class="remove" async></script> 
-
-    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" class="remove"></script>
-
-    <script type="text/javascript">
-/*
-	Written by Jonathan Snook, http://www.snook.ca/jonathan
-	Add-ons by Robert Nyman, http://www.robertnyman.com
-	Author says "The credit comment is all it takes, no license. Go crazy "
-	From http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/
-*/
-
-function setContributors () {
-    $('dt').each(function(index) {
-        var content=$(this).text();
-        if (content== "Authors:") {
-         console.log( "content " +  content);
-         $(this).text("Contributors:")
-        }
-    })
-}
-
-function setColoredDiffs () {
-    $('dt').each(function(index) {
-        var content=$(this).text();
-        if (content== "Previous version:") {
-         console.log( "content " +  content);
-	  $(this).next().append(" ").append($('<a>').attr('href','diff.html').append("(colored-coded diff)"));
-        }
-    })
-}
-
-
-function getElementsByClassName(oElm, strTagName, oClassNames){
-	var arrElements = (! (! (strTagName == "*") || ! (oElm.all)))? oElm.all : oElm.getElementsByTagName(strTagName);
-	var arrReturnElements = new Array();
-	var arrRegExpClassNames = new Array();
-	if(typeof oClassNames == "object"){
-		for(var i=0; !(i>=oClassNames.length); i++){ /*>*/
-			arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames[i].replace(/\-/g, "\-") + "(\s|$)"));
-		}
-	}
-	else{
-		arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames.replace(/\-/g, "\-") + "(\s|$)"));
-	}
-	var oElement;
-	var bMatchesAll;
-	for(var j=0; !(j>=arrElements.length); j++){ /*>*/
-		oElement = arrElements[j];
-		bMatchesAll = true;
-		for(var k=0; !(k>=arrRegExpClassNames.length); k++){ /*>*/
-			if(!arrRegExpClassNames[k].test(oElement.className)){
-				bMatchesAll = false;
-				break;
-			}
-		}
-		if(bMatchesAll){
-			arrReturnElements.push(oElement);
-		}
-	}
-	return (arrReturnElements)
-}
+<title>PROV-DM: The PROV Data Model</title> 
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
+
+<script src="http://www.w3.org/Tools/respec/respec-w3c-common" class="remove" async></script> 
+
+<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" class="remove"></script>
+
+<script src="prov-magic.js" class="remove"></script>
+
+<script src="glossary.js" class="remove"></script>
+
+<script src="provbib.js" class="remove"></script>
+
+<script class="remove">
 
 function set_display_by_class(el, cls, newValue) {
-   var e = getElementsByClassName(document, el, cls);
-   if (e != null) {
-      for (var i=0; !(i>=e.length); i++) {
-        e[i].style.display = newValue;
-      }
-   }
+    var e = getElementsByClassName(document, el, cls);
+    if (e != null) {
+	for (var i=0; !(i>=e.length); i++) {
+            e[i].style.display = newValue;
+	}
+    }
 }
 
 function set_display_by_id(id, newValue) {
-   var e = document.getElementById(id);
-   if (e != null) {
-     e.style.display = newValue;
-   }
+    var e = document.getElementById(id);
+    if (e != null) {
+	e.style.display = newValue;
+    }
 }
-</script> 
-    <script src="glossary.js" class="remove"></script>
-
-    <script src="provbib.js" class="remove"></script>
-
-    <script class="remove">
-      function 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));
-//          $(this).attr("prov:hadOriginalSource",glossary_hg);
-          if (span) {
-            $(this).children('dfn').replaceWith(function(){return $('<span>').addClass('dfn').append($(this).contents())});
-          }
-        });
-      }
-
-        // function to replace figcaption since not allowed by prov rules, and not transformed by respec.js
-      function updateFigCaptions() {
-	var figureCount=1;
-
-        $('figcaption').each(function(index) {
-
-          var myid=$(this).attr('id');
-          var mycount=figureCount++;
-
-          $(this).replaceWith(function(){return $('<span>').addClass('figcaption').attr('data-count', mycount).attr('id',myid).append("Figure " + mycount)
-.append($('<sup>').append($('<a>').addClass('internalDFN').attr('href','#'+myid).append($('<span>').addClass('diamond').append(" &#9674;:")))).append(" ")
-.append($(this).contents())});
-        });
-      }
-
-        // function to update caption with linkable diamond
-      function updateCaptions() {
-	var tableCount=1;
-
-        $('caption').each(function(index) {
-
-          var myid=$(this).attr('id');
-          var mycount=tableCount++;
-
-          $(this).attr('data-count', mycount)
-.prepend($('<span>').append("Table " + mycount)
-		  .append($('<sup>').append($('<a>').addClass('internalDFN').attr('href','#'+myid).append($('<span>').addClass('diamond').append(" &#9674;:")))).append(" "))
-        });
-      }
-
-        // function to replace figure since not allowed by prov rules, and not transformed by respec.js
-      function updateFigures() {
-        $('figure').each(function(index) {
-
-          var myid=$(this).attr('id');
-          var mystyle=$(this).attr('style');
-
-             console.log( "figure " + myid + " " + $(this).contents());
-
-          $(this).replaceWith(function(){
-                                          var aNewElement=$('<span>').addClass('figure').append($(this).contents());
-                                          if (myid) {
-                                            aNewElement.attr('id',myid)
-                                          }                                          
-                                          if (mystyle) {
-                                            aNewElement.attr('style',mystyle)
-                                          }                                          
-                                          return aNewElement });
-
-
-
-        //          $(this).replaceWith(function(){return $('<span>').addClass('figure').attr('id',myid).attr('style',mystyle).append($(this).contents())});
-             console.log( "figure " + myid);
-        });
-      }
-
-      function updateExamples() {
-        var count=1;
-        $('.anexample').each(function(index) {
-
-          var myid=$(this).attr('id');
-          var mycount=count++;
-
-          if (myid==undefined) {
-            myid='example_' + mycount;
-            $(this).attr('id',myid);
-          }
-
-          
-          $(this).attr('data-count', mycount).prepend($('<div>').addClass('anexampleTitle')
-                                                          //.append($('<a>').addClass('internalDFN').attr('href','#'+myid).append("Example " + mycount))
-              .append("Example " + mycount)
-              .append($('<sup>').append($('<a>').addClass('internalDFN').attr('href','#'+myid).append($('<span>').addClass('diamond').append(" &#9674;"))))
-              );
-
-
-          //console.log( "example for " + myid + " " + mycount);
-
-        });
-      }
-
-              
-
-      function updateDfn() {
-        var count=1;
-        $('dfn').each(function(index) {
-
-          var myid=$(this).addClass('internalDFN').attr('id');
-
-          $(this).after($('<sup>').append($('<a>').addClass('internalDFN').attr('href','#'+myid).append($('<span>').addClass('diamond').append(" &#9674;"))));  //&#9674;//&#9830;
-          
-//              console.log( "dfn for " + myid + " ");
-
-        });
-      }
-
-
-      function updateExamplesRefs() {
-        $('.anexample-ref').each(function(index) {
-
-          myhref=$(this).attr('href');
-
-              //console.log( "example ref for " + myhref);
-
-          mycount=$(myhref).attr('data-count');
-
-              //console.log( "example ref for " + myhref + " " + mycount);
-
-          $(this).children('span').replaceWith(function(){return $('<span>').append("Example " + mycount)});
-
-        });
-
-        $('.anexample').each(function(index) {
-          $(this).removeAttr('data-count');
-        });
-
-        $('caption').each(function(index) {
-          $(this).removeAttr('data-count');
-        });
-
-        $('.figcaption').each(function(index) {
-          $(this).removeAttr('data-count');
-        });
-
-      }
-
-
-      function updateSectionRefs() {
-
-         $('.section-ref').each(function(index) {
-
-          myhref=$(this).attr('href');
-
-          console.log( "section ref for " + myhref);
-
-          if (myhref.startsWith("#")) {
-
-
-            mysectionNumber=$(myhref).find('span.secno').first().text().trim();
-
-             console.log( "section ref for " + myhref + " " + mysectionNumber);
-
-             $(this).children('span').replaceWith(function(){return $('<span>').append("Section " + mysectionNumber)});
-
-           }
-
-        });
-      }
-
-
-
-      $(document).ready(function(){
-        // if glossary is in a string:
+
+$(document).ready(function(){
+// if glossary is in a string:
         $('#glossary_div').html(glossary_string)
         updateGlossaryRefs();
         updateFigCaptions();
@@ -316,26 +54,15 @@
 					  };
         }
       });
-
-    </script>
-
-    <script class="remove"> 
+</script>
+
+<script class="remove"> 
       var addExtraReferences = function() {
           for (var k in extraReferences)
               berjon.biblio[k] = extraReferences[k];
       };
       var extraReferences = {
-        "CLOCK":
-         "Lamport, L. "+
-         "<a href=\"http://research.microsoft.com/users/lamport/pubs/time-clocks.pdf\"><cite>Time, clocks, and the ordering of events in a distributed system</cite></a>."+
-         "Communications of the ACM 21 (7): 558–565. 1978. "+
-         "URL: <a href=\"http://research.microsoft.com/users/lamport/pubs/time-clocks.pdf\">http://research.microsoft.com/users/lamport/pubs/time-clocks.pdf</a> " +
-         "DOI: doi:10.1145/359545.359563",
-        "CSP":
-         "Hoare, C. A. R. "+
-         "<a href=\"http://www.usingcsp.com/cspbook.pdf\"><cite>Communicating Sequential Processes</cite></a>."+
-         "Prentice-Hall. 1985"+
-         "URL: <a href=\"http://www.usingcsp.com/cspbook.pdf\">http://www.usingcsp.com/cspbook.pdf</a>",
+
         "Logic":
           "W. E. Johnson. "+
           "<a href=\"http://www.ditext.com/johnson/intro-3.html\"><cite>Logic: Part III</cite></a>."+
@@ -351,7 +78,7 @@
         "RDF-CONCEPTS11":
           "Richard Cyganiak; David Wood; eds. " +
           "RDF 1.1 Concepts and Abstract Syntax "+
-          "<a href=\"http://www.w3.org/TR/rdf11-concepts/\"><cite>RDF 1.1 Concepts and Abstract Syntax</cite></a>. "+
+          "<a href=\"http://www.w3.org/TR/rdf11-concepts/\"><cite>RDF 1.1 Concepts and Abstract Syntax</cite></a>. Working Draft. "+
           "URL: <a href=\"http://www.w3.org/TR/rdf11-concepts/\">http://www.w3.org/TR/rdf11-concepts/</a>",
 
         "Mappings":
@@ -468,8 +195,39 @@
 
           postProcess: [updateSectionRefs, updateDfn, updateFigures, checkLinksToW3CReports, setContributors, setColoredDiffs],
       };
-    </script> 
-  <style type="text/css">
+</script> 
+<style type="text/css">
+.note { font-size:small; margin-left:50px }
+
+.diamond {
+    font-weight: normal;
+    font-style: normal;
+    font-size:100%;
+    font-family: sans-serif;
+}
+
+table.thinborder {
+	border-width: 1px;
+	border-spacing: 0px;
+	border-style: none;
+	border-color: gray;
+	border-collapse: collapse;
+}
+
+table.thinborder th {
+	border-width: 1px;
+	padding: 0px;
+	border-style: solid;
+	border-color: gray;
+}
+
+table.thinborder td {
+	border-width: 1px;
+	padding: 2px;
+	border-style: solid;
+	border-color: gray;
+}
+
 /*****************************************************************
  * ReSpec CSS
  * Robin Berjon (robin at berjon dot com)
--- a/model/releases/CR-prov-dm-20121211/Overview.html	Fri Nov 23 20:45:59 2012 +0000
+++ b/model/releases/CR-prov-dm-20121211/Overview.html	Sat Nov 24 22:54:15 2012 +0000
@@ -1,17 +1,24 @@
 <!DOCTYPE html>
 <html lang="en" dir="ltr">
 <head> 
-    <title>PROV-DM: The PROV Data Model</title> 
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
-    <!-- 
-      === NOTA BENE ===
-      For the three scripts below, if your spec resides on dev.w3 you can check them
-      out in the same tree and use relative links so that they'll work offline,
-     -->
-
-<!-- see http://www.somacon.com/p141.php for table configuration -->
-    <style type="text/css">
-      .note { font-size:small; margin-left:50px }
+<title>PROV-DM: The PROV Data Model</title> 
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
+
+ 
+
+
+
+
+
+
+
+
+
+
+
+ 
+<style type="text/css">
+.note { font-size:small; margin-left:50px }
 
 .diamond {
     font-weight: normal;
@@ -41,96 +48,7 @@
 	border-style: solid;
 	border-color: gray;
 }
-</style>
-
-<!--    <script src="http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js" class="remove"></script>   -->
-     
-
-    
-
-    <script type="text/javascript">
-/*
-	Written by Jonathan Snook, http://www.snook.ca/jonathan
-	Add-ons by Robert Nyman, http://www.robertnyman.com
-	Author says "The credit comment is all it takes, no license. Go crazy "
-	From http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/
-*/
-
-function setContributors () {
-    $('dt').each(function(index) {
-        var content=$(this).text();
-        if (content== "Authors:") {
-         console.log( "content " +  content);
-         $(this).text("Contributors:")
-        }
-    })
-}
-
-function setColoredDiffs () {
-    $('dt').each(function(index) {
-        var content=$(this).text();
-        if (content== "Previous version:") {
-         console.log( "content " +  content);
-	  $(this).next().append(" ").append($('<a>').attr('href','diff.html').append("(colored-coded diff)"));
-        }
-    })
-}
-
-
-function getElementsByClassName(oElm, strTagName, oClassNames){
-	var arrElements = (! (! (strTagName == "*") || ! (oElm.all)))? oElm.all : oElm.getElementsByTagName(strTagName);
-	var arrReturnElements = new Array();
-	var arrRegExpClassNames = new Array();
-	if(typeof oClassNames == "object"){
-		for(var i=0; !(i>=oClassNames.length); i++){ /*>*/
-			arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames[i].replace(/\-/g, "\-") + "(\s|$)"));
-		}
-	}
-	else{
-		arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames.replace(/\-/g, "\-") + "(\s|$)"));
-	}
-	var oElement;
-	var bMatchesAll;
-	for(var j=0; !(j>=arrElements.length); j++){ /*>*/
-		oElement = arrElements[j];
-		bMatchesAll = true;
-		for(var k=0; !(k>=arrRegExpClassNames.length); k++){ /*>*/
-			if(!arrRegExpClassNames[k].test(oElement.className)){
-				bMatchesAll = false;
-				break;
-			}
-		}
-		if(bMatchesAll){
-			arrReturnElements.push(oElement);
-		}
-	}
-	return (arrReturnElements)
-}
-
-function set_display_by_class(el, cls, newValue) {
-   var e = getElementsByClassName(document, el, cls);
-   if (e != null) {
-      for (var i=0; !(i>=e.length); i++) {
-        e[i].style.display = newValue;
-      }
-   }
-}
-
-function set_display_by_id(id, newValue) {
-   var e = document.getElementById(id);
-   if (e != null) {
-     e.style.display = newValue;
-   }
-}
-</script> 
-    
-
-    
-
-    
-
-     
-  <style type="text/css">
+
 /*****************************************************************
  * ReSpec CSS
  * Robin Berjon (robin at berjon dot com)
@@ -4119,10 +4037,7 @@
 <section id="valid-provenance">
 <!--OddPage--><h2><span class="secno">7. </span>Creating Valid Provenance</h2>
 
-
-<ul>
-
-<li>This specification defines PROV-DM, a data model that allows 
+<p>This specification defines PROV-DM, a data model that allows 
 descriptions of the people, institutions, entities, and activities,
 involved in producing, influencing, or delivering a piece of data or a
 thing to be expressed.  However, with this data model, it is also possible to compose
@@ -4132,22 +4047,16 @@
 generation.  A set of constraints have been defined for PROV and
 can be found in a companion specification [<cite><a class="bibref" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>].
 They <em class="rfc2119" title="should">should</em> be used by developers to compose provenance descriptions that are valid, and
-by implementers of reasoning engines aiming to check whether provenance descriptions have problems. </li>
-
-
-
-<li>
+by implementers of reasoning engines aiming to check whether provenance descriptions have problems. </p>
+
+
+
+
 <p> The example of <a href="#prov-dm-example">section 3</a> contains identifiers such as <span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">tr:WD-prov-dm-20111215</a></span>, which denotes a specific version of a technical report.  On the other hand, an IRI such as <a href="http://www.w3.org/TR/prov-dm/">http://www.w3.org/TR/prov-dm/</a> denotes the latest version of a document. One needs to ensure that provenance descriptions for the latter resource remain valid as the resource state changes. </p>
 
 <p>To this end, PROV allows asserters to describe "<em>partial states</em>" of entities by means of attributes and associated values. Some further constraints apply to the use of these attributes, since the values associated with them are expected to remain unchanged for some period of time. The constraints associated to attributes allow provenance descriptions to be refined, they can also be found in the companion specification [<cite><a class="bibref" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>].</p>
 
 
-</li>
-
-
-
-</ul>
-
 
 </section>
 
@@ -4502,6 +4411,6 @@
 </dd><dt id="bib-PROV-OVERVIEW">[PROV-OVERVIEW]</dt><dd>Paul Groth and Luc Moreau <a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/"><cite>PROV-OVERVIEW: An Overview of the PROV Family of Documents</cite></a>. 11 December 2012, Working Draft. URL: <a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/">http://www.w3.org/TR/2012/WD-prov-overview-20121211/</a>
 </dd><dt id="bib-PROV-PRIMER">[PROV-PRIMER]</dt><dd>Yolanda Gil; Simon Miles; eds. <a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/"><cite>Prov Model Primer</cite></a>. 11 December 2012, Working Draft. URL: <a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/">http://www.w3.org/TR/2012/WD-prov-primer-20121211/</a>
 </dd><dt id="bib-PROV-XML">[PROV-XML]</dt><dd>Hook Hua; Curt Tilmes; Stephan Zednik; eds. <a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><cite>PROV-XML: The PROV XML Schema</cite></a>. 11 December 2012, Working Draft. URL: <a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/">http://www.w3.org/TR/2012/WD-prov-xml-20121211/</a>
-</dd><dt id="bib-RDF-CONCEPTS11">[RDF-CONCEPTS11]</dt><dd>Richard Cyganiak; David Wood; eds. RDF 1.1 Concepts and Abstract Syntax <a href="http://www.w3.org/TR/rdf11-concepts/"><cite>RDF 1.1 Concepts and Abstract Syntax</cite></a>. URL: <a href="http://www.w3.org/TR/rdf11-concepts/">http://www.w3.org/TR/rdf11-concepts/</a>
+</dd><dt id="bib-RDF-CONCEPTS11">[RDF-CONCEPTS11]</dt><dd>Richard Cyganiak; David Wood; eds. RDF 1.1 Concepts and Abstract Syntax <a href="http://www.w3.org/TR/rdf11-concepts/"><cite>RDF 1.1 Concepts and Abstract Syntax</cite></a>. Working Draft. URL: <a href="http://www.w3.org/TR/rdf11-concepts/">http://www.w3.org/TR/rdf11-concepts/</a>
 </dd><dt id="bib-UML">[UML]</dt><dd>Object Management Group <a href="http://www.omg.org/spec/UML/2.0/Superstructure/PDF/"><cite>Unified Modeling Language: Superstructure</cite></a>. version 2.0, 2005 URL: <a href="http://www.omg.org/spec/UML/2.0/Superstructure/PDF/">http://www.omg.org/spec/UML/2.0/Superstructure/PDF/</a>
 </dd></dl></section></section></body></html>
--- a/model/releases/CR-prov-dm-20121211/diff.html	Fri Nov 23 20:45:59 2012 +0000
+++ b/model/releases/CR-prov-dm-20121211/diff.html	Sat Nov 24 22:54:15 2012 +0000
@@ -8,16 +8,33 @@
 .tagDelete { background-color: #770000; color: #ffffff }
 
 --></style> 
-    <title>PROV-DM: The PROV Data Model</title> 
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
+     
+<title>PROV-DM: The PROV Data Model</title> 
+     
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
     
 
 
-    <style type="text/css"><span class="delete">
+     
+
+ 
+
+
+
+
+
+
+
+
+
+
+
+ 
+<style type="text/css"><span class="delete">
 
 /* --- EDITORIAL NOTES --- */
 .component1-color</span><span class="insert">
-      .note</span> {<span class="delete">
+.note</span> {<span class="delete">
  background-color: rgba(255,42,42,0.2);
 </span><span class="insert"> font-size:small; margin-left:50px </span>}
 
@@ -496,14 +513,14 @@
 	padding: <span class="delete">0px;</span><span class="insert">2px;</span>
 	border-style: solid;
 	border-color: gray;
-}
-<span class="delete">table.thinborder td {
+}<span class="delete">
+table.thinborder td {
 	border-width: 1px;
 	padding: 2px;
 	border-style: solid;
 	border-color: gray;
 }
-</span></style>
+</span>
 
      
     
@@ -517,93 +534,6 @@
   
 
 
-     
-
-    
-
-    <script type="text/javascript">
-/*
-	Written by Jonathan Snook, http://www.snook.ca/jonathan
-	Add-ons by Robert Nyman, http://www.robertnyman.com
-	Author says "The credit comment is all it takes, no license. Go crazy "
-	From http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/
-*/
-
-function setContributors () {
-    $('dt').each(function(index) {
-        var content=$(this).text();
-        if (content== "Authors:") {
-         console.log( "content " +  content);
-         $(this).text("Contributors:")
-        }
-    })
-}
-
-function setColoredDiffs () {
-    $('dt').each(function(index) {
-        var content=$(this).text();
-        if (content== "Previous version:") {
-         console.log( "content " +  content);
-	  $(this).next().append(" ").append($('<a>').attr('href','diff.html').append("(colored-coded diff)"));
-        }
-    })
-}
-
-
-function getElementsByClassName(oElm, strTagName, oClassNames){
-	var arrElements = (! (! (strTagName == "*") || ! (oElm.all)))? oElm.all : oElm.getElementsByTagName(strTagName);
-	var arrReturnElements = new Array();
-	var arrRegExpClassNames = new Array();
-	if(typeof oClassNames == "object"){
-		for(var i=0; !(i>=oClassNames.length); i++){ /*>*/
-			arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames[i].replace(/\-/g, "\-") + "(\s|$)"));
-		}
-	}
-	else{
-		arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames.replace(/\-/g, "\-") + "(\s|$)"));
-	}
-	var oElement;
-	var bMatchesAll;
-	for(var j=0; !(j>=arrElements.length); j++){ /*>*/
-		oElement = arrElements[j];
-		bMatchesAll = true;
-		for(var k=0; !(k>=arrRegExpClassNames.length); k++){ /*>*/
-			if(!arrRegExpClassNames[k].test(oElement.className)){
-				bMatchesAll = false;
-				break;
-			}
-		}
-		if(bMatchesAll){
-			arrReturnElements.push(oElement);
-		}
-	}
-	return (arrReturnElements)
-}
-
-function set_display_by_class(el, cls, newValue) {
-   var e = getElementsByClassName(document, el, cls);
-   if (e != null) {
-      for (var i=0; !(i>=e.length); i++) {
-        e[i].style.display = newValue;
-      }
-   }
-}
-
-function set_display_by_id(id, newValue) {
-   var e = document.getElementById(id);
-   if (e != null) {
-     e.style.display = newValue;
-   }
-}
-</script> 
-    
-
-    
-
-    
-
-     
-  <style type="text/css">
 /*****************************************************************
  * ReSpec CSS
  * Robin Berjon (robin at berjon dot com)
@@ -4873,9 +4803,9 @@
 <h2><span class="secno">7. </span>Creating Valid Provenance</h2>
 
 
-<ul>
-
-<li>This specification defines PROV-DM, a data model that allows 
+
+
+<p>This specification defines PROV-DM, a data model that allows 
 descriptions of the people, institutions, entities, and activities,
 involved in producing, influencing, or delivering a piece of data or a
 thing to be expressed.  However, with this data model, it is also possible to compose
@@ -4885,17 +4815,22 @@
 generation.  A set of constraints have been defined for <span class="delete">PROV-DM</span><span class="insert">PROV</span> and
 can be found in a companion specification [<cite><a class="bibref" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>].
 They <em class="rfc2119" title="should">should</em> be used by developers to compose provenance descriptions that are valid, and
-by implementers of reasoning engines aiming to check whether provenance descriptions have problems. </li>
-
-
-
-<li>
+by implementers of reasoning engines aiming to check whether provenance descriptions have problems. 
+
+
+
+
+</p>
+
+
+
+
 <p> The example of <a href="#prov-dm-example">section 3</a> contains identifiers such as <span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">tr:WD-prov-dm-20111215</a></span>, which denotes a specific version of a technical report.  On the other hand, <span class="delete">a URI</span><span class="insert">an IRI</span> such as <a href="http://www.w3.org/TR/prov-dm/">http://www.w3.org/TR/prov-dm/</a> denotes the latest version of a document. One needs to ensure that provenance descriptions for the latter resource remain valid as the resource state changes. </p>
 
 <p>To this end, <span class="delete">PROV-DM</span><span class="insert">PROV</span> allows asserters to describe "<em>partial states</em>" of entities by means of attributes and associated values. Some further constraints apply to the use of these attributes, since the values associated with them are expected to remain unchanged for some period of time. The constraints associated to attributes allow provenance descriptions to be refined, they can also be found in the companion specification [<cite><a class="bibref" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>].</p>
 
 
-</li>
+
 
 
 
@@ -4908,7 +4843,7 @@
 
 
 
-</ul>
+
 
 
 </section>
@@ -5279,7 +5214,7 @@
 <span class="delete">[PROV-O]</span><span class="delete">Timothy Lebo, Satya Sahoo and Deborah McGuinness (eds.) Khalid Belhajjame, James Cheney, David Corsar, Daniel Garijo, Stian Soiland-Reyes, and Stephan Zednik </span><span class="delete">Provenance Formal Model</span><span class="delete">. 2011, Working Draft. URL: </span><span class="delete">http://www.w3.org/TR/prov-o/</span><a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-overview-20121211/</span></a>
 </dd><dt id="bib-PROV-PRIMER">[PROV-PRIMER]</dt><dd>Yolanda <span class="delete">Gil and</span><span class="insert">Gil;</span> Simon <span class="delete">Miles (eds.) Khalid Belhajjame, Helena Deus, Daniel Garijo, Graham Klyne, Paolo Missier, Stian Soiland-Reyes, and Stephan Zednik </span><span class="insert">Miles; eds. </span><a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/"><cite>Prov Model Primer</cite></a>. <span class="delete">2011,</span><span class="insert">11 December 2012,</span> Working Draft. URL: <span class="delete">http://www.w3.org/TR/prov-primer/</span><a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-primer-20121211/</span></a>
 </dd><dt id="bib-PROV-XML"><span class="insert">[PROV-XML]</span></dt><dd><span class="insert">Hook Hua; Curt Tilmes; Stephan Zednik; eds. </span><a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><cite><span class="insert">PROV-XML: The PROV XML Schema</span></cite></a><span class="insert">. 11 December 2012, Working Draft. URL: </span><a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-xml-20121211/</span></a>
-</dd><dt id="bib-RDF-CONCEPTS11">[RDF-CONCEPTS11]</dt><dd>Richard <span class="delete">Cyganiak and</span><span class="insert">Cyganiak;</span> David <span class="delete">Wood (eds.)</span><span class="insert">Wood; eds.</span> RDF 1.1 Concepts and Abstract Syntax <a href="http://www.w3.org/TR/rdf11-concepts/"><cite>RDF 1.1 Concepts and Abstract Syntax</cite></a>. URL: <a href="http://www.w3.org/TR/rdf11-concepts/">http://www.w3.org/TR/rdf11-concepts/</a>
+</dd><dt id="bib-RDF-CONCEPTS11">[RDF-CONCEPTS11]</dt><dd>Richard <span class="delete">Cyganiak and</span><span class="insert">Cyganiak;</span> David <span class="delete">Wood (eds.)</span><span class="insert">Wood; eds.</span> RDF 1.1 Concepts and Abstract Syntax <a href="http://www.w3.org/TR/rdf11-concepts/"><cite>RDF 1.1 Concepts and Abstract Syntax</cite></a>. <span class="insert">Working Draft. </span>URL: <a href="http://www.w3.org/TR/rdf11-concepts/">http://www.w3.org/TR/rdf11-concepts/</a>
 </dd><dt id="bib-UML"><span class="insert">[UML]</span></dt><dd><span class="insert">Object Management Group </span><a href="http://www.omg.org/spec/UML/2.0/Superstructure/PDF/"><cite><span class="insert">Unified Modeling Language: Superstructure</span></cite></a><span class="insert">. version 2.0, 2005 URL: </span><a href="http://www.omg.org/spec/UML/2.0/Superstructure/PDF/"><span class="insert">http://www.omg.org/spec/UML/2.0/Superstructure/PDF/</span></a>
 </dd></dl></section></section></body></html>