--- a/rdf-turtle/turtle-bnf.html Tue May 15 11:05:47 2012 -0700
+++ b/rdf-turtle/turtle-bnf.html Tue May 15 11:27:53 2012 -0700
@@ -1,4 +1,4 @@
-<table class="grammar">
+<table class="grammar">
<tbody class="grammar-productions">
<tr id="grammar-production-turtleDoc" data-grammar-original="[1] turtleDoc ::= (statement)*" data-grammar-expression="('*', ('id', 'statement'))" >
<td>[1]<td>
@@ -18,17 +18,17 @@
<td>::=</td>
<td>(<a href='#grammar-production-prefixID'>prefixID</a> <code>|</code> <a href='#grammar-production-base'>base</a>)</td>
</tr>
- <tr id="grammar-production-prefixID" data-grammar-original="[4] prefixID ::= PREFIX PNAME_NS IRIREF" data-grammar-expression="(',', [('id', 'PREFIX'), ('id', 'PNAME_NS'), ('id', 'IRIREF')])" >
+ <tr id="grammar-production-prefixID" data-grammar-original="[4] prefixID ::= '@prefix' ws+ PNAME_NS IRIREF" data-grammar-expression="(',', [("'", '@prefix'), ('+', ('id', 'ws')), ('id', 'PNAME_NS'), ('id', 'IRIREF')])" >
<td>[4]<td>
<td><code>prefixID</code><td>
<td>::=</td>
- <td><a href='#grammar-production-PREFIX'>PREFIX</a> <a href='#grammar-production-PNAME_NS'>PNAME_NS</a> <a href='#grammar-production-IRIREF'>IRIREF</a></td>
+ <td>'<code class='grammar-literal'>@prefix</code>' (<a href='#grammar-production-ws'>ws</a>)<code class='grammar-plus'>+</code> <a href='#grammar-production-PNAME_NS'>PNAME_NS</a> <a href='#grammar-production-IRIREF'>IRIREF</a></td>
</tr>
- <tr id="grammar-production-base" data-grammar-original="[5] base ::= BASE IRIREF" data-grammar-expression="(',', [('id', 'BASE'), ('id', 'IRIREF')])" >
+ <tr id="grammar-production-base" data-grammar-original="[5] base ::= '@base' ws+ IRIREF" data-grammar-expression="(',', [("'", '@base'), ('+', ('id', 'ws')), ('id', 'IRIREF')])" >
<td>[5]<td>
<td><code>base</code><td>
<td>::=</td>
- <td><a href='#grammar-production-BASE'>BASE</a> <a href='#grammar-production-IRIREF'>IRIREF</a></td>
+ <td>'<code class='grammar-literal'>@base</code>' (<a href='#grammar-production-ws'>ws</a>)<code class='grammar-plus'>+</code> <a href='#grammar-production-IRIREF'>IRIREF</a></td>
</tr>
<tr id="grammar-production-triples" data-grammar-original="[6] triples ::= subject predicateObjectList" data-grammar-expression="(',', [('id', 'subject'), ('id', 'predicateObjectList')])" >
<td>[6]<td>
@@ -158,18 +158,6 @@
</tr>
</tbody>
<tbody class="grammar-terminals">
- <tr id="grammar-production-BASE" data-grammar-original="[17] BASE ::= "@base"" data-grammar-expression="("'", '@base')" class='grammar-token'>
- <td>[17]<td>
- <td><code>BASE</code><td>
- <td>::=</td>
- <td>'<code class='grammar-literal'>@base</code>'</td>
-</tr>
- <tr id="grammar-production-PREFIX" data-grammar-original="[18] PREFIX ::= "@prefix"" data-grammar-expression="("'", '@prefix')" class='grammar-token'>
- <td>[18]<td>
- <td><code>PREFIX</code><td>
- <td>::=</td>
- <td>'<code class='grammar-literal'>@prefix</code>'</td>
-</tr>
<tr id="grammar-production-IRIREF" data-grammar-original="[132s] IRIREF ::= '<' ([^<>"{}|^`\]-[#x00-#x20])* | UCHAR '>'" data-grammar-expression="('|', [(',', [("'", '<'), ('*', ('-', [('[', '^<>"{}|^`\\'), ('[', '#x00-#x20')]))]), (',', [('id', 'UCHAR'), ("'", '>')])])" class='grammar-token'>
<td>[132s]<td>
<td><code>IRIREF</code><td>
@@ -194,11 +182,11 @@
<td>::=</td>
<td>'<code class='grammar-literal'>_:</code>' (<a href='#grammar-production-PN_CHARS_U'>PN_CHARS_U</a> <code>|</code> [<code class='grammar-chars'>0-9</code>]) (((<a href='#grammar-production-PN_CHARS'>PN_CHARS</a> <code>|</code> '<code class='grammar-literal'>.</code>'))<code class='grammar-star'>*</code> <a href='#grammar-production-PN_CHARS'>PN_CHARS</a>)?</td>
</tr>
- <tr id="grammar-production-LANGTAG" data-grammar-original="[19] LANGTAG ::= BASE| PREFIX| "@" [a-zA-Z]+ ( "-" [a-zA-Z0-9]+ )*" data-grammar-expression="('|', [('id', 'BASE'), ('id', 'PREFIX'), (',', [("'", '@'), ('+', ('[', 'a-zA-Z')), ('*', (',', [("'", '-'), ('+', ('[', 'a-zA-Z0-9'))]))])])" class='grammar-token'>
+ <tr id="grammar-production-LANGTAG" data-grammar-original="[19] LANGTAG ::= "@" [a-zA-Z]+ ( "-" [a-zA-Z0-9]+ )*" data-grammar-expression="(',', [("'", '@'), ('+', ('[', 'a-zA-Z')), ('*', (',', [("'", '-'), ('+', ('[', 'a-zA-Z0-9'))]))])" class='grammar-token'>
<td>[19]<td>
<td><code>LANGTAG</code><td>
<td>::=</td>
- <td>(<a href='#grammar-production-BASE'>BASE</a> <code>|</code> <a href='#grammar-production-PREFIX'>PREFIX</a> <code>|</code> '<code class='grammar-literal'>@</code>' ([<code class='grammar-chars'>a-zA-Z</code>])<code class='grammar-plus'>+</code> ('<code class='grammar-literal'>-</code>' ([<code class='grammar-chars'>a-zA-Z0-9</code>])<code class='grammar-plus'>+</code>)<code class='grammar-star'>*</code>)</td>
+ <td>'<code class='grammar-literal'>@</code>' ([<code class='grammar-chars'>a-zA-Z</code>])<code class='grammar-plus'>+</code> ('<code class='grammar-literal'>-</code>' ([<code class='grammar-chars'>a-zA-Z0-9</code>])<code class='grammar-plus'>+</code>)<code class='grammar-star'>*</code></td>
</tr>
<tr id="grammar-production-INTEGER" data-grammar-original="[20] INTEGER ::= [+-]? [0-9]+" data-grammar-expression="(',', [('?', ('[', '+-')), ('+', ('[', '0-9'))])" class='grammar-token'>
<td>[20]<td>