- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 15 Aug 2011 20:27:16 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv6404 Modified Files: Overview.html Log Message: Update diagram. (whatwg r6460) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.5161 retrieving revision 1.5162 diff -u -d -r1.5161 -r1.5162 --- Overview.html 15 Aug 2011 05:43:53 -0000 1.5161 +++ Overview.html 15 Aug 2011 20:27:11 -0000 1.5162 @@ -19031,11 +19031,12 @@ <pre><p>In the common case, the data handled by the tokenization stage comes from the network, but it can also come from script.</p> -<p><strong><img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" alt="The network -passes data to the Tokenizer stage, which passes data to the Tree -Construction stage. From there, data goes to both the DOM and to -Script Execution. Script Execution is linked to the DOM, and, using -document.write(), passes data to the Tokenizer."></strong></p></pre> +<p><strong><img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" alt="The Network +passes data to the Input Stream Preprocessor, which passes it to the +Tokenizer, which passes it to the Tree Construction stage. From there, +data goes to both the DOM and to Script Execution. Script Execution is +linked to the DOM, and, using document.write(), passes data to the +Tokenizer."></strong></p></pre> </div><div class="example"> @@ -19203,11 +19204,11 @@ <p>A flowchart that repeats the previous paragraph in graphical form:</p> - <pre><p>The network passes data to the Tokenizer stage, which -passes data to the Tree Construction stage. From there, data goes -to both the DOM and to Script Execution. Script Execution is -linked to the DOM, and, using document.write(), passes data to -the Tokenizer.</p> + <pre><p>The Network passes data to the Input Stream Preprocessor, which +passes it to the Tokenizer, which passes it to the Tree Construction +stage. From there, data goes to both the DOM and to Script Execution. +Script Execution is linked to the DOM, and, using document.write(), +passes data to the Tokenizer.</p> <strong><p><img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" alt=""></p></strong></pre> <p>In these cases, it would be wrong to include alternative text @@ -19219,36 +19220,37 @@ representation, and would thus require alternative text.</p> <pre><!-- Using the title="" attribute --> -<p>The network passes data to the Tokenizer stage, which -passes data to the Tree Construction stage. From there, data goes -to both the DOM and to Script Execution. Script Execution is -linked to the DOM, and, using document.write(), passes data to -the Tokenizer.</p> +<p>The Network passes data to the Input Stream Preprocessor, which +passes it to the Tokenizer, which passes it to the Tree Construction +stage. From there, data goes to both the DOM and to Script Execution. +Script Execution is linked to the DOM, and, using document.write(), +passes data to the Tokenizer.</p> <p><strong><img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" alt="" title="Flowchart representation of the parsing model."></strong></p></pre> <pre><!-- Using <figure> and <figcaption> --> -<p>The network passes data to the Tokenizer stage, which -passes data to the Tree Construction stage. From there, data goes -to both the DOM and to Script Execution. Script Execution is -linked to the DOM, and, using document.write(), passes data to -the Tokenizer.</p> +<p>The Network passes data to the Input Stream Preprocessor, which +passes it to the Tokenizer, which passes it to the Tree Construction +stage. From there, data goes to both the DOM and to Script Execution. +Script Execution is linked to the DOM, and, using document.write(), +passes data to the Tokenizer.</p> <figure> - <strong><img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" alt="The Network leads - to the Tokenizer, which leads to the Tree Construction. The Tree - Construction leads to two items. The first is Script Execution, which - leads via document.write() back to the Tokenizer. The second item - from which Tree Construction leads is the DOM. The DOM is related to - the Script Execution."></strong> + <strong><img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" alt="The Network leads to + the Input Stream Preprocessor, which leads to the Tokenizer, which + leads to the Tree Construction stage. The Tree Construction stage + leads to two items. The first is Script Execution, which leads via + document.write() back to the Tokenizer. The second item from which + Tree Construction leads is the DOM. The DOM is related to the Script + Execution."></strong> <figcaption>Flowchart representation of the parsing model.</figcaption> </figure></pre> <pre class="bad"><!-- This is WRONG. Do not do this. Instead, do what the above examples do. --> -<p>The network passes data to the Tokenizer stage, which -passes data to the Tree Construction stage. From there, data goes -to both the DOM and to Script Execution. Script Execution is -linked to the DOM, and, using document.write(), passes data to -the Tokenizer.</p> +<p>The Network passes data to the Input Stream Preprocessor, which +passes it to the Tokenizer, which passes it to the Tree Construction +stage. From there, data goes to both the DOM and to Script Execution. +Script Execution is linked to the DOM, and, using document.write(), +passes data to the Tokenizer.</p> <p><img src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" alt="Flowchart representation of the parsing model."></p> <!-- Never put the image's caption in the alt="" attribute! --></pre> @@ -55786,7 +55788,7 @@ insertion">it can also come from script</a> running in the user agent, e.g. using the <code title="dom-document-write"><a href="#dom-document-write">document.write()</a></code> API.</p> - <p><img alt="" height="554" src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" width="427"></p> + <p><object data="images/parsing-model-overview.svg" height="450" width="345"><img alt="" height="450" src="http://dev.w3.org/html5/spec/images/parsing-model-overview.png" width="345"></object></p> <p id="nestedParsing">There is only one set of states for the tokenizer stage and the tree construction stage, but the tree
Received on Monday, 15 August 2011 20:27:24 UTC