removed mention
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Sat, 10 Nov 2012 06:10:35 -0500
changeset 4692 2497a3376623
parent 4691 3fb32fff5f77
child 4693 5148f969ec60
removed mention
mention/prov-mention.html
model/prov-n.html
--- a/mention/prov-mention.html	Sat Nov 10 05:59:00 2012 -0500
+++ b/mention/prov-mention.html	Sat Nov 10 06:10:35 2012 -0500
@@ -43,6 +43,7 @@
 	-moz-border-radius: ;
 }
 </style>
+    <script src="../model/grammar/ll.js" class="remove"></script>
 
     <script src="http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js" class="remove"></script> 
     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" class="remove"></script>
@@ -101,9 +102,23 @@
    }
 }
 </script> 
-    <script src="glossary.js" class="remove"></script>
+    <script src="../model/glossary.js" class="remove"></script>
 
     <script class="remove">
+function insertProductionDefinition(doc, content, name) {
+
+	var xml=$.parseXML(content);
+
+    var segment = $(xml).find('a[name~="' + name + '"]').parents("tbody")[0];
+
+//	return doc._esc((new XMLSerializer()).serializeToString(segment));
+	return (new XMLSerializer()).serializeToString(segment);
+}
+
+function insertProductionGeneration(doc, content) {  return insertProductionDefinition(doc,content,'prod-prov_n_LL-generationExpression'); }
+
+    </script>
+    <script class="remove">
       function updateGlossaryRefs() {
         $('.glossary-ref').each(function(index) {
           var ref=$(this).attr('data-ref');
@@ -277,10 +292,11 @@
 
       $(document).ready(function(){
         // if glossary is in a string:
-        $('#glossary_div').html(glossary_string)
+        //$('#glossary_div').html(glossary_string)
         updateGlossaryRefs();
         updateFigCaptions();
         updateCaptions();
+        updateGrammarRefs();
         updateExamples();
         updateExamplesRefs();
 
@@ -293,7 +309,21 @@
       });
 
     </script>
+    <script class="remove">
+      function updateGrammarRefs() {
+        $('.grammar-ref').each(function(index) {
+          var ref=$(this).attr('data-ref');
+          console.log( "updating grammar for " + ref);
+//          $('#'+ref).parents("tbody").clone().appendTo($(this));
 
+
+          // $(this).replaceWith(function() {return $('#'+ref).parents("tbody").clone()});
+
+           $(this).replaceWith($('#'+ref).parents("tbody").clone());
+
+        });
+      }
+    </script>
     <script class="remove"> 
       var addExtraReferences = function() {
           for (var k in extraReferences)
@@ -406,7 +436,7 @@
  
           // if you want to have extra CSS, append them to this list
           // it is recommended that the respec.css stylesheet be kept
-          extraCSS:             ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css", "./extra-dm.css"],
+          extraCSS:             ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css", "../model/extra-dm.css"],
  
           // editors, add as many as you like
           // only "name" is required
@@ -513,18 +543,6 @@
 
 
 
-<!-- <div class="buttonpanel"> 
-<form action="#"><p> 
-<input id="hide-asn" onclick="set_display_by_class('div','withAsn','none');set_display_by_class('span','withAsn','none'); set_display_by_id('hide-asn','none'); set_display_by_id('show-asn','');" type="button"
-value="Hide ASN" /> 
-<input id="show-asn" onclick="set_display_by_class('div','withAsn',''); set_display_by_class('span','withAsn','');  set_display_by_id('hide-asn',''); set_display_by_id('show-asn','none');" style="display: none"
-type="button" value="Show ASN" /> 
-</p> 
-</form> 
-</div>     
--->
-
-
 
 
 
@@ -667,6 +685,49 @@
 
 <section id="mention-n"> 
       <h2>Provenance Notation</h2> 
+
+<section id="expression-mention"> 
+<h4>Mention</h4>
+
+
+
+<table class="grammar">
+<tbody class="grammar-ref" data-ref="prod-mentionExpression"></tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Mention maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-mentionof">Mention</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+
+<tr><td><a href="#mention.specificEntity"><span class='attribute' id="mention.specificEntity">specificEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+
+<tr><td><a href="#mention.generalEntity"><span class='attribute' id="mention.generalEntity">generalEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="#mention.bundle"><span class='attribute' id="mention.bundle">bundle</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-bIdentifier">bIdentifier</a></code></td></tr>
+
+</table>
+</div>
+
+
+<div class="anexample">
+<pre class="codeexample">
+  mention(ex:report1_as_in_b1, ex:report1, ex:b1)   
+</pre>
+<p>  Here
+  <span class="name">ex:report1_as_in_b1</span> is an entity identifier,
+  <span class="name">ex:report1</span> is an entity identifier,
+  <span class="name">ex:b1</span> is the identifier for a bundle
+</div>
+
+
+
+</section>
+
 </section> 
 
 <section id="mention-constraints"> 
@@ -683,6 +744,11 @@
      class remove, will remove this element from the final output.
 -->
 </div>
+<div id="grammar_div" class="remove">
+<!-- grammar loaded from glossary.js will be hooked up here,
+     class remove, will remove this element from the final output.
+-->
+</div>
 
 
 <section class="appendix"> 
--- a/model/prov-n.html	Sat Nov 10 05:59:00 2012 -0500
+++ b/model/prov-n.html	Sat Nov 10 06:10:35 2012 -0500
@@ -335,13 +335,7 @@
 <p>
 This is a Last Call Working Draft. The design is not expected to change significantly, going forward, and now is the key time for external review.</p>
 
-<p>This specification identifies one  <a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi">feature at risk</a>: the expression Mention <a href="#expression-mention">(section 3.5.3)</a> might be removed from PROV if implementation experience reveals problems with supporting this construct.</p>
-
-<!--<h4>Please Comment By  2012-09-18 (TBC)</h4>
-<p>The PROV Working group seeks public feedback on this Working Draft.
-The end date of the Last Call review period is <b>2012-09-18 (TBC)</b>, and we would appreciate comments by that date to [email protected]
-</p>
--->
+
 
 <h4>PROV Family of Specifications</h4>
 This document is part of the PROV family of specifications, a set of specifications defining various aspects that are necessary to achieve the vision of inter-operable
@@ -1710,54 +1704,6 @@
 
 
 
-<section id="expression-mention"> 
-<h4>Mention</h4>
-
-<div class="note">
-<p>Note: This feature is "<a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi">at risk</a>" and may be removed from this specification based on feedback. Please send feedback to [email protected]</p>
-
-
-<p>The expression Mention might be removed from PROV if implementation experience reveals problems with supporting this construct.</p>
-</div>
-
-
-
-<table class="grammar">
-<tbody class="grammar-ref" data-ref="prod-mentionExpression"></tbody>
-</table>
-
-
-<p>The following table summarizes how each constituent of a PROV-DM Mention maps to a PROV-N syntax element.</p>
-<div style="text-align: left; ">
-<table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-mentionof">Mention</a></b></td><td><b>Non-Terminal</b></td></tr>
-<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#mention.specificEntity"><span class='attribute' id="mention.specificEntity">specificEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#mention.generalEntity"><span class='attribute' id="mention.generalEntity">generalEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#mention.bundle"><span class='attribute' id="mention.bundle">bundle</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-bIdentifier">bIdentifier</a></code></td></tr>
-
-</table>
-</div>
-
-
-<div class="anexample">
-<pre class="codeexample">
-  mention(ex:report1_as_in_b1, ex:report1, ex:b1)   
-</pre>
-<p>  Here
-  <span class="name">ex:report1_as_in_b1</span> is an entity identifier,
-  <span class="name">ex:report1</span> is an entity identifier,
-  <span class="name">ex:b1</span> is the identifier for a bundle
-</div>
-
-
-
-</section>