--- a/rdf-turtle/n-prime-bnf.html Sat Mar 09 08:58:11 2013 -0800
+++ b/rdf-turtle/n-prime-bnf.html Sat Mar 09 14:01:59 2013 -0800
@@ -1,108 +1,112 @@
-<table id="n-triples" class="grammar">
+<table class="grammar">
<tbody class="grammar-productions">
- <tr id="n-triples-grammar-production-ntriplesDoc" data-grammar-original="[1] ntriplesDoc ::= triple? (EOL triple)* EOL?" data-grammar-expression="(',', [('?', ('id', 'triple')), ('*', (',', [('id', 'EOL'), ('id', 'triple')])), ('?', ('id', 'EOL'))])" >
- <td>[1]<td>
- <td><code>ntriplesDoc</code><td>
- <td>::=</td>
- <td>(<a href='#n-triples-grammar-production-triple'>triple</a>)? (<a href='#n-triples-grammar-production-EOL'>EOL</a> <a href='#n-triples-grammar-production-triple'>triple</a>)<code class='grammar-star'>*</code> (<a href='#n-triples-grammar-production-EOL'>EOL</a>)?</td>
-</tr>
- <tr id="n-triples-grammar-production-triple" data-grammar-original="[2] triple ::= subject predicate object '.'" data-grammar-expression="(',', [('id', 'subject'), ('id', 'predicate'), ('id', 'object'), ("'", '.')])" >
- <td>[2]<td>
- <td><code>triple</code><td>
- <td>::=</td>
- <td><a href='#n-triples-grammar-production-subject'>subject</a> <a href='#n-triples-grammar-production-predicate'>predicate</a> <a href='#n-triples-grammar-production-object'>object</a> '<code class='grammar-literal'>.</code>'</td>
-</tr>
- <tr id="n-triples-grammar-production-subject" data-grammar-original="[3] subject ::= IRIREF | BLANK_NODE_LABEL" data-grammar-expression="('|', [('id', 'IRIREF'), ('id', 'BLANK_NODE_LABEL')])" >
- <td>[3]<td>
- <td><code>subject</code><td>
- <td>::=</td>
- <td>(<a href='#n-triples-grammar-production-IRIREF'>IRIREF</a> <code>|</code> <a href='#n-triples-grammar-production-BLANK_NODE_LABEL'>BLANK_NODE_LABEL</a>)</td>
-</tr>
- <tr id="n-triples-grammar-production-predicate" data-grammar-original="[4] predicate ::= IRIREF" data-grammar-expression="('id', 'IRIREF')" >
- <td>[4]<td>
- <td><code>predicate</code><td>
+ <tr id="grammar-production-ntriplesDoc" data-grammar-original="[1] ntriplesDoc ::= triple? (EOL triple)* EOL?" data-grammar-expression="(',', [('?', ('id', 'triple')), ('*', (',', [('id', 'EOL'), ('id', 'triple')])), ('?', ('id', 'EOL'))])" >
+ <td>[1]</td>
+ <td><code>ntriplesDoc</code></td>
<td>::=</td>
- <td><a href='#n-triples-grammar-production-IRIREF'>IRIREF</a></td>
-</tr>
- <tr id="n-triples-grammar-production-object" data-grammar-original="[5] object ::= IRIREF | BLANK_NODE_LABEL | literal" data-grammar-expression="('|', [('id', 'IRIREF'), ('id', 'BLANK_NODE_LABEL'), ('id', 'literal')])" >
- <td>[5]<td>
- <td><code>object</code><td>
- <td>::=</td>
- <td>(<a href='#n-triples-grammar-production-IRIREF'>IRIREF</a> <code>|</code> <a href='#n-triples-grammar-production-BLANK_NODE_LABEL'>BLANK_NODE_LABEL</a> <code>|</code> <a href='#n-triples-grammar-production-literal'>literal</a>)</td>
-</tr>
- <tr id="n-triples-grammar-production-literal" data-grammar-original="[6] literal ::= STRING_LITERAL2 ('^^' IRIREF | ('@' LANG) )?" data-grammar-expression="(',', [('id', 'STRING_LITERAL2'), ('?', ('|', [(',', [("'", '^^'), ('id', 'IRIREF')]), (',', [("'", '@'), ('id', 'LANG')])]))])" >
- <td>[6]<td>
- <td><code>literal</code><td>
- <td>::=</td>
- <td><a href='#n-triples-grammar-production-STRING_LITERAL2'>STRING_LITERAL2</a> (('<code class='grammar-literal'>^^</code>' <a href='#n-triples-grammar-production-IRIREF'>IRIREF</a> <code>|</code> '<code class='grammar-literal'>@</code>' <a href='#n-triples-grammar-production-LANG'>LANG</a>))?</td>
-</tr>
- </tbody>
- <tbody class="grammar-terminals">
- <tr id="n-triples-grammar-production-LANG" data-grammar-original="[7] LANG ::= [a-zA-Z]+ ( "-" [a-zA-Z0-9]+ )*" data-grammar-expression="(',', [('+', ('[', 'a-zA-Z')), ('*', (',', [("'", '-'), ('+', ('[', 'a-zA-Z0-9'))]))])" class='grammar-token'>
- <td>[7]<td>
- <td><code>LANG</code><td>
- <td>::=</td>
- <td>([<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="n-triples-grammar-production-EOL" data-grammar-original="[8] EOL ::= [#xD#xA]+" data-grammar-expression="('+', ('[', '#xD#xA'))" class='grammar-token'>
- <td>[8]<td>
- <td><code>EOL</code><td>
- <td>::=</td>
- <td>([<code class='grammar-chars'>#xD#xA</code>])<code class='grammar-plus'>+</code></td>
+ <td><a href='#grammar-production-triple'>triple</a>? (<a href='#grammar-production-EOL'>EOL</a> <a href='#grammar-production-triple'>triple</a>)<code class='grammar-star'>*</code> <a href='#grammar-production-EOL'>EOL</a>?</td>
</tr>
- <tr id="n-triples-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>
- <td>::=</td>
- <td>('<code class='grammar-literal'><</code>' ([<code class='grammar-chars'>^<>"{}|^`\</code>]<code class='grammar-diff'>-</code>[<code class='grammar-chars'>#x00-#x20</code>])<code class='grammar-star'>*</code> <code>|</code> <a href='#n-triples-grammar-production-UCHAR'>UCHAR</a> '<code class='grammar-literal'>></code>')</td>
-</tr>
- <tr id="n-triples-grammar-production-BLANK_NODE_LABEL" data-grammar-original="[135s] BLANK_NODE_LABEL ::= '_:' ( PN_CHARS_U | [0-9] ) ((PN_CHARS|'.')* PN_CHARS)?" data-grammar-expression="(',', [("'", '_:'), ('|', [('id', 'PN_CHARS_U'), ('[', '0-9')]), ('?', (',', [('*', ('|', [('id', 'PN_CHARS'), ("'", '.')])), ('id', 'PN_CHARS')]))])" class='grammar-token'>
- <td>[135s]<td>
- <td><code>BLANK_NODE_LABEL</code><td>
- <td>::=</td>
- <td>'<code class='grammar-literal'>_:</code>' (<a href='#n-triples-grammar-production-PN_CHARS_U'>PN_CHARS_U</a> <code>|</code> [<code class='grammar-chars'>0-9</code>]) (((<a href='#n-triples-grammar-production-PN_CHARS'>PN_CHARS</a> <code>|</code> '<code class='grammar-literal'>.</code>'))<code class='grammar-star'>*</code> <a href='#n-triples-grammar-production-PN_CHARS'>PN_CHARS</a>)?</td>
-</tr>
- <tr id="n-triples-grammar-production-STRING_LITERAL2" data-grammar-original="[150s] STRING_LITERAL2 ::= '"' ( ( [^#x22#x5C#xA#xD]) | ECHAR | UCHAR )* '"'" data-grammar-expression="(',', [("'", '"'), ('*', ('|', [('[', '^#x22#x5C#xA#xD'), ('id', 'ECHAR'), ('id', 'UCHAR')])), ("'", '"')])" class='grammar-token'>
- <td>[150s]<td>
- <td><code>STRING_LITERAL2</code><td>
- <td>::=</td>
- <td>'<code class='grammar-literal'>"</code>' (([<code class='grammar-chars'>^#x22#x5C#xA#xD</code>] <code>|</code> <a href='#n-triples-grammar-production-ECHAR'>ECHAR</a> <code>|</code> <a href='#n-triples-grammar-production-UCHAR'>UCHAR</a>))<code class='grammar-star'>*</code> '<code class='grammar-literal'>"</code>'</td>
-</tr>
- <tr id="n-triples-grammar-production-UCHAR" data-grammar-original="[19] UCHAR ::= ( "\u" HEX HEX HEX HEX )| ( "\U" HEX HEX HEX HEX HEX HEX HEX HEX )" data-grammar-expression="('|', [(',', [("'", '\\u'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX')]), (',', [("'", '\\U'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX')])])" class='grammar-token'>
- <td>[19]<td>
- <td><code>UCHAR</code><td>
- <td>::=</td>
- <td>('<code class='grammar-literal'>\u</code>' <a href='#n-triples-grammar-production-HEX'>HEX</a> <a href='#n-triples-grammar-production-HEX'>HEX</a> <a href='#n-triples-grammar-production-HEX'>HEX</a> <a href='#n-triples-grammar-production-HEX'>HEX</a> <code>|</code> '<code class='grammar-literal'>\U</code>' <a href='#n-triples-grammar-production-HEX'>HEX</a> <a href='#n-triples-grammar-production-HEX'>HEX</a> <a href='#n-triples-grammar-production-HEX'>HEX</a> <a href='#n-triples-grammar-production-HEX'>HEX</a> <a href='#n-triples-grammar-production-HEX'>HEX</a> <a href='#n-triples-grammar-production-HEX'>HEX</a> <a href='#n-triples-grammar-production-HEX'>HEX</a> <a href='#n-triples-grammar-production-HEX'>HEX</a>)</td>
-</tr>
- <tr id="n-triples-grammar-production-ECHAR" data-grammar-original="[153s] ECHAR ::= "\" [tbnrf\"']" data-grammar-expression="(',', [("'", '\\'), ('[', 'tbnrf\\"\'')])" class='grammar-token'>
- <td>[153s]<td>
- <td><code>ECHAR</code><td>
+ <tr id="grammar-production-triple" data-grammar-original="[2] triple ::= WS* subject WS+ predicate WS+ object WS* '.' WS*" data-grammar-expression="(',', [('*', ('id', 'WS')), ('id', 'subject'), ('+', ('id', 'WS')), ('id', 'predicate'), ('+', ('id', 'WS')), ('id', 'object'), ('*', ('id', 'WS')), ("'", '.'), ('*', ('id', 'WS'))])" >
+ <td>[2]</td>
+ <td><code>triple</code></td>
<td>::=</td>
- <td>'<code class='grammar-literal'>\</code>' [<code class='grammar-chars'>tbnrf\"'</code>]</td>
-</tr>
- <tr id="n-triples-grammar-production-PN_CHARS_BASE" data-grammar-original="[157s] PN_CHARS_BASE ::= [A-Z]| [a-z]| [#00C0-#00D6]| [#00D8-#00F6]| [#00F8-#02FF]| [#0370-#037D]| [#037F-#1FFF]| [#200C-#200D]| [#2070-#218F]| [#2C00-#2FEF]| [#3001-#D7FF]| [#F900-#FDCF]| [#FDF0-#FFFD]| [#10000-#EFFFF]" data-grammar-expression="('|', [('[', 'A-Z'), ('[', 'a-z'), ('[', '#00C0-#00D6'), ('[', '#00D8-#00F6'), ('[', '#00F8-#02FF'), ('[', '#0370-#037D'), ('[', '#037F-#1FFF'), ('[', '#200C-#200D'), ('[', '#2070-#218F'), ('[', '#2C00-#2FEF'), ('[', '#3001-#D7FF'), ('[', '#F900-#FDCF'), ('[', '#FDF0-#FFFD'), ('[', '#10000-#EFFFF')])" class='grammar-token'>
- <td>[157s]<td>
- <td><code>PN_CHARS_BASE</code><td>
- <td>::=</td>
- <td>([<code class='grammar-chars'>A-Z</code>] <code>|</code> [<code class='grammar-chars'>a-z</code>] <code>|</code> [<code class='grammar-chars'>#00C0-#00D6</code>] <code>|</code> [<code class='grammar-chars'>#00D8-#00F6</code>] <code>|</code> [<code class='grammar-chars'>#00F8-#02FF</code>] <code>|</code> [<code class='grammar-chars'>#0370-#037D</code>] <code>|</code> [<code class='grammar-chars'>#037F-#1FFF</code>] <code>|</code> [<code class='grammar-chars'>#200C-#200D</code>] <code>|</code> [<code class='grammar-chars'>#2070-#218F</code>] <code>|</code> [<code class='grammar-chars'>#2C00-#2FEF</code>] <code>|</code> [<code class='grammar-chars'>#3001-#D7FF</code>] <code>|</code> [<code class='grammar-chars'>#F900-#FDCF</code>] <code>|</code> [<code class='grammar-chars'>#FDF0-#FFFD</code>] <code>|</code> [<code class='grammar-chars'>#10000-#EFFFF</code>])</td>
-</tr>
- <tr id="n-triples-grammar-production-PN_CHARS_U" data-grammar-original="[158s] PN_CHARS_U ::= PN_CHARS_BASE| '_'| ':'" data-grammar-expression="('|', [('id', 'PN_CHARS_BASE'), ("'", '_'), ("'", ':')])" class='grammar-token'>
- <td>[158s]<td>
- <td><code>PN_CHARS_U</code><td>
- <td>::=</td>
- <td>(<a href='#n-triples-grammar-production-PN_CHARS_BASE'>PN_CHARS_BASE</a> <code>|</code> '<code class='grammar-literal'>_</code>' <code>|</code> '<code class='grammar-literal'>:</code>')</td>
+ <td><a href='#grammar-production-WS'>WS</a><code class='grammar-star'>*</code> <a href='#grammar-production-subject'>subject</a> <a href='#grammar-production-WS'>WS</a><code class='grammar-plus'>+</code> <a href='#grammar-production-predicate'>predicate</a> <a href='#grammar-production-WS'>WS</a><code class='grammar-plus'>+</code> <a href='#grammar-production-object'>object</a> <a href='#grammar-production-WS'>WS</a><code class='grammar-star'>*</code> '<code class='grammar-literal'>.</code>' <a href='#grammar-production-WS'>WS</a><code class='grammar-star'>*</code></td>
</tr>
- <tr id="n-triples-grammar-production-PN_CHARS" data-grammar-original="[160s] PN_CHARS ::= PN_CHARS_U| "-"| [0-9]| #00B7| [#0300-#036F]| [#203F-#2040]" data-grammar-expression="('|', [('id', 'PN_CHARS_U'), ("'", '-'), ('[', '0-9'), ('#', '#00B7'), ('[', '#0300-#036F'), ('[', '#203F-#2040')])" class='grammar-token'>
- <td>[160s]<td>
- <td><code>PN_CHARS</code><td>
+ <tr id="grammar-production-subject" data-grammar-original="[3] subject ::= IRIREF | BLANK_NODE_LABEL" data-grammar-expression="('|', [('id', 'IRIREF'), ('id', 'BLANK_NODE_LABEL')])" >
+ <td>[3]</td>
+ <td><code>subject</code></td>
<td>::=</td>
- <td>(<a href='#n-triples-grammar-production-PN_CHARS_U'>PN_CHARS_U</a> <code>|</code> '<code class='grammar-literal'>-</code>' <code>|</code> [<code class='grammar-chars'>0-9</code>] <code>|</code> <code class='grammar-char-escape'>#00B7</code> <code>|</code> [<code class='grammar-chars'>#0300-#036F</code>] <code>|</code> [<code class='grammar-chars'>#203F-#2040</code>])</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="n-triples-grammar-production-HEX" data-grammar-original="[162s] HEX ::= [0-9] | [A-F] | [a-f]" data-grammar-expression="('|', [('[', '0-9'), ('[', 'A-F'), ('[', 'a-f')])" class='grammar-token'>
- <td>[162s]<td>
- <td><code>HEX</code><td>
+ <tr id="grammar-production-predicate" data-grammar-original="[4] predicate ::= IRIREF" data-grammar-expression="('id', 'IRIREF')" >
+ <td>[4]</td>
+ <td><code>predicate</code></td>
<td>::=</td>
- <td>([<code class='grammar-chars'>0-9</code>] <code>|</code> [<code class='grammar-chars'>A-F</code>] <code>|</code> [<code class='grammar-chars'>a-f</code>])</td>
+ <td><a href='#grammar-production-IRIREF'>IRIREF</a></td>
</tr>
- </tbody>
+ <tr id="grammar-production-object" data-grammar-original="[5] object ::= IRIREF | BLANK_NODE_LABEL | literal" data-grammar-expression="('|', [('id', 'IRIREF'), ('id', 'BLANK_NODE_LABEL'), ('id', 'literal')])" >
+ <td>[5]</td>
+ <td><code>object</code></td>
+ <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 ('^^' IRIREF | ('@' LANG) )?" data-grammar-expression="(',', [('id', 'STRING_LITERAL_QUOTE'), ('?', ('|', [(',', [("'", '^^'), ('id', 'IRIREF')]), (',', [("'", '@'), ('id', 'LANG')])]))])" >
+ <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-LANG'>LANG</a>)?</td>
+</tr>
+<tr><td colspan="5"><h4 id="terminals">Productions for terminals</h4></td></tr>
+ <tr id="grammar-production-LANG" data-grammar-original="[7] LANG ::= [a-zA-Z]+ ( "-" [a-zA-Z0-9]+ )*" data-grammar-expression="(',', [('+', ('[', 'a-zA-Z')), ('*', (',', [("'", '-'), ('+', ('[', 'a-zA-Z0-9'))]))])" class='grammar-token'>
+ <td>[7]</td>
+ <td><code>LANG</code></td>
+ <td>::=</td>
+ <td>[<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-EOL" data-grammar-original="[8] EOL ::= [#xD#xA]+" data-grammar-expression="('+', ('[', '#xD#xA'))" class='grammar-token'>
+ <td>[8]</td>
+ <td><code>EOL</code></td>
+ <td>::=</td>
+ <td>[<code class='grammar-chars'>#xD#xA</code>]<code class='grammar-plus'>+</code></td>
+</tr>
+ <tr id="grammar-production-WS" data-grammar-original="[9] WS ::= [#x20#x9]" data-grammar-expression="('[', '#x20#x9')" class='grammar-token'>
+ <td>[9]</td>
+ <td><code>WS</code></td>
+ <td>::=</td>
+ <td>[<code class='grammar-chars'>#x20#x9</code>]</td>
+</tr>
+ <tr id="grammar-production-IRIREF" data-grammar-original="[10] IRIREF ::= '<' ([^#x00-#x20<>\"{}|^`\] | UCHAR)* '>'" data-grammar-expression="(',', [("'", '<'), ('*', ('|', [('[', '^#x00-#x20<>\\"{}|^`\\'), ('id', 'UCHAR')])), ("'", '>')])" class='grammar-token'>
+ <td>[10]</td>
+ <td><code>IRIREF</code></td>
+ <td>::=</td>
+ <td>'<code class='grammar-literal'><</code>' ([<code class='grammar-chars'>^#x00-#x20<>\"{}|^`\</code>] <code>| </code> <a href='#grammar-production-UCHAR'>UCHAR</a>)<code class='grammar-star'>*</code> '<code class='grammar-literal'>></code>'</td>
+</tr>
+ <tr id="grammar-production-STRING_LITERAL_QUOTE" data-grammar-original="[11] STRING_LITERAL_QUOTE ::= '"' ( [^#x22#x5C#xA#xD] | ECHAR | UCHAR )* '"'" data-grammar-expression="(',', [("'", '"'), ('*', ('|', [('[', '^#x22#x5C#xA#xD'), ('id', 'ECHAR'), ('id', 'UCHAR')])), ("'", '"')])" class='grammar-token'>
+ <td>[11]</td>
+ <td><code>STRING_LITERAL_QUOTE</code></td>
+ <td>::=</td>
+ <td>'<code class='grammar-literal'>"</code>' ([<code class='grammar-chars'>^#x22#x5C#xA#xD</code>] <code>| </code> <a href='#grammar-production-ECHAR'>ECHAR</a> <code>| </code> <a href='#grammar-production-UCHAR'>UCHAR</a>)<code class='grammar-star'>*</code> '<code class='grammar-literal'>"</code>'</td>
+</tr>
+ <tr id="grammar-production-BLANK_NODE_LABEL" data-grammar-original="[141s] BLANK_NODE_LABEL ::= '_:' ( PN_CHARS_U | [0-9] ) ((PN_CHARS|'.')* PN_CHARS)?" data-grammar-expression="(',', [("'", '_:'), ('|', [('id', 'PN_CHARS_U'), ('[', '0-9')]), ('?', (',', [('*', ('|', [('id', 'PN_CHARS'), ("'", '.')])), ('id', 'PN_CHARS')]))])" class='grammar-token'>
+ <td>[141s]</td>
+ <td><code>BLANK_NODE_LABEL</code></td>
+ <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-UCHAR" data-grammar-original="[12] UCHAR ::= ( "\u" HEX HEX HEX HEX )| ( "\U" HEX HEX HEX HEX HEX HEX HEX HEX )" data-grammar-expression="('|', [(',', [("'", '\\u'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX')]), (',', [("'", '\\U'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX'), ('id', 'HEX')])])" class='grammar-token'>
+ <td>[12]</td>
+ <td><code>UCHAR</code></td>
+ <td>::=</td>
+ <td>'<code class='grammar-literal'>\u</code>' <a href='#grammar-production-HEX'>HEX</a> <a href='#grammar-production-HEX'>HEX</a> <a href='#grammar-production-HEX'>HEX</a> <a href='#grammar-production-HEX'>HEX</a> <code>| </code> '<code class='grammar-literal'>\U</code>' <a href='#grammar-production-HEX'>HEX</a> <a href='#grammar-production-HEX'>HEX</a> <a href='#grammar-production-HEX'>HEX</a> <a href='#grammar-production-HEX'>HEX</a> <a href='#grammar-production-HEX'>HEX</a> <a href='#grammar-production-HEX'>HEX</a> <a href='#grammar-production-HEX'>HEX</a> <a href='#grammar-production-HEX'>HEX</a></td>
+</tr>
+ <tr id="grammar-production-ECHAR" data-grammar-original="[153s] ECHAR ::= "\" [tbnrf"']" data-grammar-expression="(',', [("'", '\\'), ('[', 'tbnrf"\'')])" class='grammar-token'>
+ <td>[153s]</td>
+ <td><code>ECHAR</code></td>
+ <td>::=</td>
+ <td>'<code class='grammar-literal'>\</code>' [<code class='grammar-chars'>tbnrf"'</code>]</td>
+</tr>
+ <tr id="grammar-production-PN_CHARS_BASE" data-grammar-original="[157s] PN_CHARS_BASE ::= [A-Z]| [a-z]| [#x00C0-#x00D6]| [#x00D8-#x00F6]| [#x00F8-#x02FF]| [#x0370-#x037D]| [#x037F-#x1FFF]| [#x200C-#x200D]| [#x2070-#x218F]| [#x2C00-#x2FEF]| [#x3001-#xD7FF]| [#xF900-#xFDCF]| [#xFDF0-#xFFFD]| [#x10000-#xEFFFF]" data-grammar-expression="('|', [('[', 'A-Z'), ('[', 'a-z'), ('[', '#x00C0-#x00D6'), ('[', '#x00D8-#x00F6'), ('[', '#x00F8-#x02FF'), ('[', '#x0370-#x037D'), ('[', '#x037F-#x1FFF'), ('[', '#x200C-#x200D'), ('[', '#x2070-#x218F'), ('[', '#x2C00-#x2FEF'), ('[', '#x3001-#xD7FF'), ('[', '#xF900-#xFDCF'), ('[', '#xFDF0-#xFFFD'), ('[', '#x10000-#xEFFFF')])" class='grammar-token'>
+ <td>[157s]</td>
+ <td><code>PN_CHARS_BASE</code></td>
+ <td>::=</td>
+ <td>[<code class='grammar-chars'>A-Z</code>] <code>| </code> [<code class='grammar-chars'>a-z</code>] <code>| </code> [<code class='grammar-chars'>#x00C0-#x00D6</code>] <code>| </code> [<code class='grammar-chars'>#x00D8-#x00F6</code>] <code>| </code> [<code class='grammar-chars'>#x00F8-#x02FF</code>] <code>| </code> [<code class='grammar-chars'>#x0370-#x037D</code>] <code>| </code> [<code class='grammar-chars'>#x037F-#x1FFF</code>] <code>| </code> [<code class='grammar-chars'>#x200C-#x200D</code>] <code>| </code> [<code class='grammar-chars'>#x2070-#x218F</code>] <code>| </code> [<code class='grammar-chars'>#x2C00-#x2FEF</code>] <code>| </code> [<code class='grammar-chars'>#x3001-#xD7FF</code>] <code>| </code> [<code class='grammar-chars'>#xF900-#xFDCF</code>] <code>| </code> [<code class='grammar-chars'>#xFDF0-#xFFFD</code>] <code>| </code> [<code class='grammar-chars'>#x10000-#xEFFFF</code>]</td>
+</tr>
+ <tr id="grammar-production-PN_CHARS_U" data-grammar-original="[158s] PN_CHARS_U ::= PN_CHARS_BASE| '_'| ':'" data-grammar-expression="('|', [('id', 'PN_CHARS_BASE'), ("'", '_'), ("'", ':')])" class='grammar-token'>
+ <td>[158s]</td>
+ <td><code>PN_CHARS_U</code></td>
+ <td>::=</td>
+ <td><a href='#grammar-production-PN_CHARS_BASE'>PN_CHARS_BASE</a> <code>| </code> '<code class='grammar-literal'>_</code>' <code>| </code> '<code class='grammar-literal'>:</code>'</td>
+</tr>
+ <tr id="grammar-production-PN_CHARS" data-grammar-original="[160s] PN_CHARS ::= PN_CHARS_U| "-"| [0-9]| #x00B7| [#x0300-#x036F]| [#x203F-#x2040]" data-grammar-expression="('|', [('id', 'PN_CHARS_U'), ("'", '-'), ('[', '0-9'), ('#', '#x00B7'), ('[', '#x0300-#x036F'), ('[', '#x203F-#x2040')])" class='grammar-token'>
+ <td>[160s]</td>
+ <td><code>PN_CHARS</code></td>
+ <td>::=</td>
+ <td><a href='#grammar-production-PN_CHARS_U'>PN_CHARS_U</a> <code>| </code> '<code class='grammar-literal'>-</code>' <code>| </code> [<code class='grammar-chars'>0-9</code>] <code>| </code> <code class='grammar-char-escape'>#x00B7</code> <code>| </code> [<code class='grammar-chars'>#x0300-#x036F</code>] <code>| </code> [<code class='grammar-chars'>#x203F-#x2040</code>]</td>
+</tr>
+ <tr id="grammar-production-HEX" data-grammar-original="[162s] HEX ::= [0-9] | [A-F] | [a-f]" data-grammar-expression="('|', [('[', '0-9'), ('[', 'A-F'), ('[', 'a-f')])" class='grammar-token'>
+ <td>[162s]</td>
+ <td><code>HEX</code></td>
+ <td>::=</td>
+ <td>[<code class='grammar-chars'>0-9</code>] <code>| </code> [<code class='grammar-chars'>A-F</code>] <code>| </code> [<code class='grammar-chars'>a-f</code>]</td>
+</tr>
</table>