Add change note of grammar fix (4g)
authorAndy Seaborne <andy.seaborne@apache.org>
Thu, 12 Dec 2013 15:00:57 +0000
changeset 1555 828ccff93cce
parent 1554 3357f6f8e1b2
child 1556 4ab37a9dfd9e
Add change note of grammar fix (4g)
trig/index.html
--- a/trig/index.html	Thu Dec 12 14:59:11 2013 +0000
+++ b/trig/index.html	Thu Dec 12 15:00:57 2013 +0000
@@ -881,7 +881,50 @@
 
    <section id="sec-changes"  class="appendix">
      <h2>Changes since the last publication of this document</h2>
-     <p>There are no substantive changes to the document since last publication.</p>
+     <p>A bug in the grammar in rule 4g has been corrected.</p>
+
+     <table class="grammar">
+       <tbody class="grammar-productions">
+         <tr>
+           <td>[4g]</td>
+           <td><code>triples2</code></td>
+           <td>::=</td>
+           <td><a href='#grammar-production-blankNodePropertyList'>blankNodePropertyList</a> 
+             <a href='#grammar-production-predicateObjectList'>predicateObjectList</a>?
+             '<code class='grammar-literal'>.</code>'
+             <code>| </code> 
+             <a href='#grammar-production-collection'>collection</a>
+             <a href='#grammar-production-predicateObjectList'>predicateObjectList</a> 
+             '<code class='grammar-literal'>.</code>'
+           </td>
+         </tr>
+       </tbody>
+     </table>
+
+     <p>The old rule was:</p>
+
+     <table class="grammar">
+       <tbody class="grammar-productions">
+         <tr>
+           <td>[4g]</td>
+           <td><code>triples2</code></td>
+           <td>::=</td>
+           <td>(<a href="#grammar-production-blankNodePropertyList">blankNodePropertyList</a> <code>| </code> <a href="#grammar-production-collection">collection</a>) <a href="#grammar-production-predicateObjectList">predicateObjectList</a>?
+             '<code class="grammar-literal">.</code>'
+           </td>
+         </tr>
+       </tbody>
+     </table>
+
+     <p>The effect of this change is to not allow as a TriG document:</p>
+     <pre>
+       (1 2 3) .
+     </pre>
+     and
+     <pre>
+       () .
+     </pre>
+     <p> which are not legal Turtle documents.</p>
    </section>
 </body>
 </html>