Textual changes for escape sequences
authorGavin Carothers <gavin@carothers.name>
Sat, 10 Dec 2011 20:32:09 -0800
changeset 192 199e7b239562
parent 191 c223d03f36b8
child 193 1621235cc65b
Textual changes for escape sequences
rdf-turtle/index.html
--- a/rdf-turtle/index.html	Sat Dec 10 20:17:45 2011 -0800
+++ b/rdf-turtle/index.html	Sat Dec 10 20:32:09 2011 -0800
@@ -210,7 +210,14 @@
 				
 				<p class="note">While <code>@prefix</code> works somewhat like XML 
 				namespaces the restrictions from XML QNames do NOT apply. <code>leg:3032571</code>
-				is a perfectly fine prefixed name.</p>
+				is a perfectly fine prefixed name. Some character escapes are allowed 
+				in the local part of prefixed names. These are the non-alphanumeric 
+				characters allowed in an IRI path. The characters are 
+				<code>~.-!$&amp;'()*+,;=:/?#@%_</code>. <code>og:video\:height</code>
+				is an example of escaping <code>:</code>.</p>
+				<p>
+
+				</p>
 
 				<p>Once a prefix such as <code>@prefix foo:
 				&lt;http://example.org/ns#&gt;</code> is defined, any mention of a
@@ -539,6 +546,13 @@
             <p>Turtle strings and IRIs can use <code>\</code>-escape sequences to
             represent Unicode code points.</p>
 
+            <p class="note">
+            Some character escapes are allowed 
+				in the local part of prefixed names. These are the non-alphanumeric 
+				characters allowed in an IRI path. The characters are 
+				<code>~.-!$&amp;'()*+,;=:/?#@%_</code>. It is not necessary to escape
+				these characters in strings or IRIs.</p>
+
 
             <p>The following table describes all the escape sequences
             allowed inside a <a href="#prod-turtle2-String">string</a>
@@ -584,21 +598,13 @@
                   <td>'\r'</td>
                   <td>U+000D</td>
                 </tr>
-
                                                               
                 <tr>
                   <td>'\"'<br />
             (inside <a href="#prod-turtle2-String">string</a>)</td>
                 <td>U+0022</td>
                 </tr>
-                                                              
-                <tr>
-
-                  <td>'\>'<br />
-            (inside <a href="#prod-turtle2-IRI_REF">IRI_REF</a> only)</td>
-                  <td>U+003E</td>
-                </tr>
-                                                              
+                                                                                                                            
                 <tr>
                   <td>'\\'</td>