Clarify that comments do not replace the EOL
authorAndy Seaborne <andy.seaborne@apache.org>
Fri, 06 Dec 2013 12:11:22 +0000
changeset 1483 0b24dfad9696
parent 1482 dcaa66649e30
child 1484 160e9b9de2fa
Clarify that comments do not replace the EOL
rdf-turtle/n-triples.html
--- a/rdf-turtle/n-triples.html	Fri Dec 06 10:17:57 2013 +0000
+++ b/rdf-turtle/n-triples.html	Fri Dec 06 12:11:22 2013 +0000
@@ -272,9 +272,16 @@
           <p>An N-Triples document is a Unicode [[!UNICODE]] character string encoded in UTF-8.
           Unicode code points only in the range U+0 to U+10FFFF inclusive are allowed.</p>
           <p>White space (tab <code>U+0009</code> or space <code>U+0020</code>) is used to separate two terminals which would otherwise be (mis-)recognized as one terminal. White space is significant in the production <a href="#grammar-production-STRING_LITERAL_QUOTE">STRING_LITERAL_QUOTE</a>.</p>
-          <p>Comments in N-Triples take the form of '<code>#</code>', outside an <code>IRIREF</code> or <code>STRING_LITERAL_QUOTE</code>, and continue to the end of line (<code>EOL</code>) or end of file if there is no end of line after the comment marker. Comments are treated as white space.</p>
-          <p>The <abbr title="Extended Backus–Naur Form">EBNF</abbr> used here is defined in XML 1.0
+          <p>Comments in N-Triples take the form of '<code>#</code>', 
+            outside an <code>IRIREF</code> or <code>STRING_LITERAL_QUOTE</code>, and continue
+            upto, and excluding, the end of line (<code>EOL</code>), 
+            or end of file if there is no end of line after the comment
+            marker. Comments are treated as white space.</p>
+
+          <p>The <abbr title="Extended Backus–Naur Form">EBNF</abbr> used
+            here is defined in XML 1.0
             [[!EBNF-NOTATION]].</p>
+
           <p>Escape sequence rules are the same as Turtle
           [[TURTLE]]. However, as only the <a href="#grammar-production-STRING_LITERAL_QUOTE"><code>STRING_LITERAL_QUOTE</code></a> production is allowed new lines in literals MUST be escaped.</p>
           <div data-include="n-prime-bnf.html">