Change struture of quoted literals section to avoid confusion.
authorGavin Carothers <gavin@carothers.name>
Thu, 28 Jun 2012 17:06:31 -0700
changeset 488 dd0ad9c131c6
parent 487 2fcdbb7ad5bd
child 489 483a8cffd556
child 490 d5be5eff2927
Change struture of quoted literals section to avoid confusion.
rdf-turtle/index.html
--- a/rdf-turtle/index.html	Thu Jun 28 06:34:28 2012 -0400
+++ b/rdf-turtle/index.html	Thu Jun 28 17:06:31 2012 -0700
@@ -342,24 +342,13 @@
 				  If present, the <a href="../rdf-concepts/index.html#dfn-language-tagged-string">language tag</a> is preceded by a <code>@</code>.
 				  If there is no language tag, there may be a <a href="../rdf-concepts/index.html#dfn-datatype-URI">datatype IRI</a>, preceeded by <code>^^</code>. The datatype IRI in Turtle may be written using either an <a href="#sec-iri">absolute IRI</a>, a <a href="#sec-iri">relative IRI</a>, or <a href="#prefixed-name">prefixed name</a>. If there is no datatype IRI and no language tag, the datatype is <code>xsd:string</code>.
 				</p>
-
-				<p>
-				  The follow table correlates delimiters with the chacters which may be embedded between the delimiters, using <code><sub>LF</sub></code> and <code><sub>CR</sub></code> for LINE FEED (<code>\n</code>) and CARRIAGE RETURN (<code>\r</code>) respecively. <!-- ␊␍ -->
-				</p>
-				<table class="separated">
-					<thead>
-						<tr>
-							<th>Delimiter</th>
-							<th>Permitted character pattern</th>
-						</tr>
-					</thead>
-					<tbody>
-						<tr><td><code>'</code></td><td><code>[^'\<sub>LF</sub><sub>CR</sub>]</code></td></tr>
-						<tr><td><code>"</code></td><td><code>[^"\<sub>LF</sub><sub>CR</sub>]</code></td></tr>
-						<tr><td><code>'''</code></td><td><code>("'" | "''")? [^'\]</code></td></tr>
-						<tr><td><code>"""</code></td><td><code>('"' | '""')? [^"\]</code></td></tr>
-					</tbody>
-				</table>
+				<p><code>\</code> may not appear in any quoted literal except as part of an escape sequence. Other restrictions depend on the delimiter:</p>
+				<ul>
+					<li>Literals delimited by <code>'</code>, may not contain the characters <code>'</code>, <code title="LINE FEED"><sub>LF</sub></code>, or <code title="CARRIAGE RETURN"><sub>CR</sub></code>.
+					<li>Literals delimited by <code>"</code>, may not contain the characters <code>"</code>, <code title="LINE FEED"><sub>LF</sub></code>, or <code title="CARRIAGE RETURN"><sub>CR</sub></code>.
+					<li>Literals delimited by <code>'''</code> may not contain the sequence of characters <code>'''</code>.
+					<li>Literals delimited by <code>"""</code> may not contain the sequence of characters <code>"""</code>.
+				</ul>
 				<pre class="example"><script type="text/turtle">@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix show: <http://example.org/vocab/show/> .