Fix LANGTAG in N-triples and N-quads (remove @ in 'literal' rule)
authorAndy Seaborne <andy.seaborne@apache.org>
Wed, 05 Feb 2014 16:46:34 +0000
changeset 1810 b82914452c06
parent 1809 d15a8017ff5b
child 1811 6fb7777d97bc
Fix LANGTAG in N-triples and N-quads (remove @ in 'literal' rule)
nquads/nquads-bnf.html
rdf-turtle/n-prime-bnf.html
--- a/nquads/nquads-bnf.html	Tue Feb 04 15:48:11 2014 +0100
+++ b/nquads/nquads-bnf.html	Wed Feb 05 16:46:34 2014 +0000
@@ -36,11 +36,11 @@
     <td>::=</td>
     <td><a href='#grammar-production-IRIREF'>IRIREF</a> <code>| </code> <a href='#grammar-production-BLANK_NODE_LABEL'>BLANK_NODE_LABEL</a></td>
 </tr>
-            <tr id="grammar-production-literal" data-grammar-original="[7]  literal            ::= STRING_LITERAL_QUOTE (&#x27;^^&#x27; IRIREF | (&#x27;@&#x27; LANGTAG) )?" data-grammar-expression="(&#x27;,&#x27;, [(&#x27;id&#x27;, &#x27;STRING_LITERAL_QUOTE&#x27;), (&#x27;?&#x27;, (&#x27;|&#x27;, [(&#x27;,&#x27;, [(&quot;&#x27;&quot;, &#x27;^^&#x27;), (&#x27;id&#x27;, &#x27;IRIREF&#x27;)]), (&#x27;,&#x27;, [(&quot;&#x27;&quot;, &#x27;@&#x27;), (&#x27;id&#x27;, &#x27;LANGTAG&#x27;)])]))])" >
+            <tr id="grammar-production-literal" data-grammar-original="[7]  literal            ::= STRING_LITERAL_QUOTE (&#x27;^^&#x27; IRIREF | LANGTAG )?" data-grammar-expression="(&#x27;,&#x27;, [(&#x27;id&#x27;, &#x27;STRING_LITERAL_QUOTE&#x27;), (&#x27;?&#x27;, (&#x27;|&#x27;, [(&#x27;,&#x27;, [(&quot;&#x27;&quot;, &#x27;^^&#x27;), (&#x27;id&#x27;, &#x27;IRIREF&#x27;)]), (&#x27;,&#x27;, [(&#x27;id&#x27;, &#x27;LANGTAG&#x27;)])]))])" >
     <td>[7]</td>
     <td><code>literal</code></td>
     <td>::=</td>
-    <td><a href='#grammar-production-STRING_LITERAL_QUOTE'>STRING_LITERAL_QUOTE</a> ('<code class='grammar-literal'>^^</code>' <a href='#grammar-production-IRIREF'>IRIREF</a> <code>| </code> '<code class='grammar-literal'>@</code>' <a href='#grammar-production-LANGTAG'>LANGTAG</a>)?</td>
+    <td><a href='#grammar-production-STRING_LITERAL_QUOTE'>STRING_LITERAL_QUOTE</a> ('<code class='grammar-literal'>^^</code>' <a href='#grammar-production-IRIREF'>IRIREF</a> <code>| </code> <a href='#grammar-production-LANGTAG'>LANGTAG</a>)?</td>
 </tr>
 <tr><td colspan="4"><h4 id="terminals">Productions for terminals</h4></td></tr>
             <tr id="grammar-production-LANGTAG" data-grammar-original="[144s] LANGTAG          ::= &quot;@&quot; [a-zA-Z]+ ( &quot;-&quot; [a-zA-Z0-9]+ )*" data-grammar-expression="(&#x27;,&#x27;, [(&quot;&#x27;&quot;, &#x27;@&#x27;), (&#x27;+&#x27;, (&#x27;[&#x27;, &#x27;a-zA-Z&#x27;)), (&#x27;*&#x27;, (&#x27;,&#x27;, [(&quot;&#x27;&quot;, &#x27;-&#x27;), (&#x27;+&#x27;, (&#x27;[&#x27;, &#x27;a-zA-Z0-9&#x27;))]))])" class='grammar-token'>
--- a/rdf-turtle/n-prime-bnf.html	Tue Feb 04 15:48:11 2014 +0100
+++ b/rdf-turtle/n-prime-bnf.html	Wed Feb 05 16:46:34 2014 +0000
@@ -30,11 +30,11 @@
     <td>::=</td>
     <td><a href='#grammar-production-IRIREF'>IRIREF</a> <code>| </code> <a href='#grammar-production-BLANK_NODE_LABEL'>BLANK_NODE_LABEL</a> <code>| </code> <a href='#grammar-production-literal'>literal</a></td>
 </tr>
-            <tr id="grammar-production-literal" data-grammar-original="[6]  literal            ::= STRING_LITERAL_QUOTE (&#x27;^^&#x27; IRIREF | (&#x27;@&#x27; LANGTAG) )?" data-grammar-expression="(&#x27;,&#x27;, [(&#x27;id&#x27;, &#x27;STRING_LITERAL_QUOTE&#x27;), (&#x27;?&#x27;, (&#x27;|&#x27;, [(&#x27;,&#x27;, [(&quot;&#x27;&quot;, &#x27;^^&#x27;), (&#x27;id&#x27;, &#x27;IRIREF&#x27;)]), (&#x27;,&#x27;, [(&quot;&#x27;&quot;, &#x27;@&#x27;), (&#x27;id&#x27;, &#x27;LANGTAG&#x27;)])]))])" >
+            <tr id="grammar-production-literal" data-grammar-original="[6]  literal            ::= STRING_LITERAL_QUOTE (&#x27;^^&#x27; IRIREF | LANGTAG )?" data-grammar-expression="(&#x27;,&#x27;, [(&#x27;id&#x27;, &#x27;STRING_LITERAL_QUOTE&#x27;), (&#x27;?&#x27;, (&#x27;|&#x27;, [(&#x27;,&#x27;, [(&quot;&#x27;&quot;, &#x27;^^&#x27;), (&#x27;id&#x27;, &#x27;IRIREF&#x27;)]), (&#x27;,&#x27;, [&#x27;id&#x27;, &#x27;LANGTAG&#x27;)])]))])" >
     <td>[6]</td>
     <td><code>literal</code></td>
     <td>::=</td>
-    <td><a href='#grammar-production-STRING_LITERAL_QUOTE'>STRING_LITERAL_QUOTE</a> ('<code class='grammar-literal'>^^</code>' <a href='#grammar-production-IRIREF'>IRIREF</a> <code>| </code> '<code class='grammar-literal'>@</code>' <a href='#grammar-production-LANGTAG'>LANGTAG</a>)?</td>
+    <td><a href='#grammar-production-STRING_LITERAL_QUOTE'>STRING_LITERAL_QUOTE</a> ('<code class='grammar-literal'>^^</code>' <a href='#grammar-production-IRIREF'>IRIREF</a> <code>| </code> <a href='#grammar-production-LANGTAG'>LANGTAG</a>)?</td>
 </tr>
 <tr><td colspan="4"><h4 id="terminals">Productions for terminals</h4></td></tr>
             <tr id="grammar-production-LANGTAG" data-grammar-original="[144s] LANGTAG          ::= &quot;@&quot; [a-zA-Z]+ ( &quot;-&quot; [a-zA-Z0-9]+ )*" data-grammar-expression="(&#x27;,&#x27;, [(&quot;&#x27;&quot;, &#x27;@&#x27;), (&#x27;+&#x27;, (&#x27;[&#x27;, &#x27;a-zA-Z&#x27;)), (&#x27;*&#x27;, (&#x27;,&#x27;, [(&quot;&#x27;&quot;, &#x27;-&#x27;), (&#x27;+&#x27;, (&#x27;[&#x27;, &#x27;a-zA-Z0-9&#x27;))]))])" class='grammar-token'>