~ folded in Sandro's table for sec-escapes
authorEric Prud'hommeaux <eric@w3.org>
Wed, 14 Mar 2012 11:03:52 -0400
changeset 223 a70167d334db
parent 221 af9497595c62
child 224 f93f0e829e9a
~ folded in Sandro's table for sec-escapes
rdf-turtle/index.html
--- a/rdf-turtle/index.html	Wed Mar 07 11:31:06 2012 -0500
+++ b/rdf-turtle/index.html	Wed Mar 14 11:03:52 2012 -0400
@@ -110,6 +110,9 @@
     pre.example script {
         display:block;
     }
+    #term2escape thead tr th { border:1px solid black; padding: .2em; }
+    #term2escape tbody tr td { border:1px solid black; text-align: center; }
+    #term2escape tbody tr td.r { text-align: right; padding: .5em; }
     </style> 
 	
     </head>
@@ -659,19 +662,38 @@
 
 	    </ul>
 
-
-            <p><span style="font-weight:bold;">IRI</span>s, used as <a href="#prod-turtle2-IRIref">RDF terms</a> or as in <a href="#prod-turtle2-prefixID">@prefix</a> or <a href="#prod-turtle2-base">@base</a> declarations, may include <a href="#numeric">numeric escape sequences</a>.</p>
-
-	    <p>
-	      <a href="#term-turtle2-BLANK_NODE_LABEL"><span style="font-weight:bold;">Blank node label</span>s</a> and <a href="#term-turtle2-PN_LOCAL"><span style="font-weight:bold;">local name</span>s</a> may include <a href="#reserved">reserved escape sequences</a>.
-	    </p>
-
+	    <table id="term2escape" style="border-collapse:collapse;">
+	      <thead>
+		<tr>
+		  <th></th>
+		  <th><a href="#numeric">numeric<br/>escapes</a></th>
+		  <th><a href="#string">string<br/>escapes</a></th>
+		  <th><a href="#reserved">reserved character<br/>escapes</a></th>
+		</tr>
+	      </thead>
+	      <tbody>
+		<tr>
+		  <td class="r"><span style="font-weight:bold;">IRI</span>s, used as <a href="#prod-turtle2-IRIref">RDF terms</a> or as in <a href="#prod-turtle2-prefixID">@prefix</a> or <a href="#prod-turtle2-base">@base</a> declarations</td>
+		  <td style="background-color: green; border:1px solid black;">yes</td>
+		  <td>no</td>
+		  <td>no</td>
+		</tr>
+		<tr>
+		  <td class="r"><a href="#term-turtle2-BLANK_NODE_LABEL"><span style="font-weight:bold;">Blank node label</span>s</a> and <a href="#term-turtle2-PN_LOCAL"><span style="font-weight:bold;">local name</span>s</a></td>
+		  <td>no</td>
+		  <td>no</td>
+		  <td style="background-color: green; border:1px solid black;">yes</td>
+		</tr>
+		<tr>
+		  <td class="r"><span style="font-weight:bold;">String</span>s</td>
+		  <td style="background-color: green; border:1px solid black;">yes</td>
+		  <td style="background-color: green; border:1px solid black;">yes</td>
+		  <td>no</td>
+		</tr>
+	      </tbody>
+	    </table>
 	    <p class="note">%-encoded sequences are in the <a href="#term-turtle2-IRI_REF">character range for IRIs</a> and are <a href="#term-turtle2-PERCENT">explicitly allowed</a> in blank node labels and local names. These appear as a '%' followed by two hex characters and represent that same sequence of three characters. These sequences are <em>not</em> decoded during processing. A term written as <code>&lt;http://a.example/%66oo-bar&gt;</code> in Turtle designates the RDF IRI <code>http://a.example/%66oo-bar</code> and not RDF IRI <code>http://a.example/foo-bar</code>. A term written as <code>ex:%66oo-bar</code> with a prefix <code>@prefix ex: &lt;http://a.example/&gt;</code> also designates the RDF IRI <code>http://a.example/%66oo-bar</code>.</p>
 
-	    <p>
-	      <a href="#prod-turtle2-String"><span style="font-weight:bold;">String</span>s</a> may include <a href="#numeric">numeric escape sequences</a> and <a href="#string">string escape sequences</a>.
-	    </p>
-
           </section>
           <section id="sec-grammar-grammar">
           <h3>Grammar</h3>