Clear up parsing from DOM vs from Bytes
authorGavin Carothers <gavin@carothers.name>
Fri, 22 Jun 2012 10:51:09 -0700
changeset 483 5362a261bb55
parent 482 ca55645fc305
child 484 20f1efd9dd0d
Clear up parsing from DOM vs from Bytes
rdf-turtle/index.html
--- a/rdf-turtle/index.html	Fri Jun 22 10:47:58 2012 -0700
+++ b/rdf-turtle/index.html	Fri Jun 22 10:51:09 2012 -0700
@@ -1009,8 +1009,7 @@
         <section id="in-html-parsing" class="informative">
           <h3>Parsing Turtle in HTML</h3>
           <p>There are no syntactic or grammar differences between parsing Turtle that has been embedded 
-          and normal Turtle documents. Each <code>script</code> data block is considered to be it's own 
-          Turtle document. <code>@prefix</code> and <code>@base</code> declarations in a Turtle data bloc are scoped to that data block and do not effect other data blocks.
+          and normal Turtle documents. A Turtle document parsed from an HTML DOM will be a stream of character data rather than a stream of UTF-8 encoded bytes. No decoding is necessary if the HTML document has already been parsed into DOM. Each <code>script</code> data block is considered to be it's own Turtle document. <code>@prefix</code> and <code>@base</code> declarations in a Turtle data bloc are scoped to that data block and do not effect other data blocks.
 The HTML <code>lang</code> attribute or XHTML <code>xml:lang</code> attribute have no effect on the parsing of the data blocks.
 The base URI of the encapsulating HTML document provides a "Base URI Embedded in Content" per RFC3986 section 5.1.1.