Fix terminology around the concept of an 'active parser'. (whatwg r3259)

Fix terminology around the concept of an 'active parser'. (whatwg r3259)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2406&r2=1.2407&f=h
http://html5.org/tools/web-apps-tracker?from=3258&to=3259

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2406
retrieving revision 1.2407
diff -u -d -r1.2406 -r1.2407
--- Overview.html 15 Jun 2009 21:33:53 -0000 1.2406
+++ Overview.html 15 Jun 2009 22:30:51 -0000 1.2407
@@ -5912,6 +5912,11 @@
   simple event</a> called <code title="event-readystatechange">readystatechange</code> at the
   <code>Document</code> object.</p>
 
+  <p>A <code>Document</code> is said to have an <dfn id="active-parser">active
+  parser</dfn> if it is associated with an <a href="#html-parser">HTML parser</a> or
+  an <a href="#xml-parser">XML parser</a> that has not yet been <a href="#stop-parsing" title="stop
+  parsing">stopped</a> or aborted.</p>
+
   <p>The <dfn id="dom-document-readystate" title="dom-document-readyState"><code>readyState</code></dfn> DOM
   attribute must, on getting, return the <a href="#current-document-readiness">current document
   readiness</a>.</p>
@@ -7501,13 +7506,13 @@
 
    <li>
 
-    <p>If the document has an <span>active parser</span><!-- XXX xref
-    --> that isn't a <a href="#script-created-parser">script-created parser</a>, and the
-    <a href="#insertion-point">insertion point</a> associated with that parser's
-    <a href="#the-input-stream">input stream</a> is not undefined (that is, it
-    <em>does</em> point to somewhere in the input stream), then the
-    method does nothing. Abort these steps and return the
-    <code>Document</code> object on which the method was invoked.</p>
+    <p>If the document has an <a href="#active-parser">active parser</a> that isn't a
+    <a href="#script-created-parser">script-created parser</a>, and the <a href="#insertion-point">insertion
+    point</a> associated with that parser's <a href="#the-input-stream">input
+    stream</a> is not undefined (that is, it <em>does</em> point to
+    somewhere in the input stream), then the method does
+    nothing. Abort these steps and return the <code>Document</code>
+    object on which the method was invoked.</p>
 
     <p class="note">This basically causes <code title="dom-document-open"><a href="#dom-document-open">document.open()</a></code> to be ignored
     when it's called in an inline script found during the parsing of
@@ -7537,12 +7542,12 @@
 
     -->
 
-   <li><p>If the document has an <span>active parser</span><!--XXX
-   xref-->, then stop that parser, and throw away any pending content
-   in the input stream. <span class="XXX">what about if it
-   doesn't, because it's either like a text/plain, or Atom, or PDF, or
-   XHTML, or image document, or something?</span></li><!-- XXX see
-   also innerHTML in HTML -->
+   <li><p>If the document has an <a href="#active-parser">active parser</a>, then
+   abort that parser, and throw away any pending content in the input
+   stream. <span class="XXX">what about if it doesn't, because it's
+   either like a text/plain, or Atom, or PDF, or XHTML, or image
+   document, or something?</span></li><!-- XXX see also innerHTML
+   in HTML -->
 
    <li><p>Unregister all event listeners registered on the
    <code>Document</code> node and its descendants.</p>
@@ -7825,8 +7830,8 @@
    <li>
 
     <p>If the attribute is being set on a <code>Document</code> node,
-    and that document has an active <a href="#html-parser">HTML parser</a> or
-    <a href="#xml-parser">XML parser</a>, then stop that parser.</p>
+    and that document has an <a href="#active-parser">active parser</a>, then abort
+    that parser.</p>
 
     <p class="XXX">what about if it doesn't, because it's either
     like a text/plain, or Atom, or PDF, or XHTML, or image document,
@@ -15427,12 +15432,12 @@
   then the user agent must <a href="#fire-a-simple-event">fire a simple event</a> called
   <code title="event-error"><a href="#event-error">error</a></code> at the element instead.</p>
 
-  <p>When there is an active parser in the <code><a href="#the-iframe-element">iframe</a></code>, and
-  when anything in the <code><a href="#the-iframe-element">iframe</a></code> is <a href="#delay-the-load-event" title="delay the
-  load event">delaying the load event</a> of the
-  <code><a href="#the-iframe-element">iframe</a></code>'s <a href="#browsing-context">browsing context</a>'s <a href="#active-document">active
-  document</a>, the <code><a href="#the-iframe-element">iframe</a></code> must <a href="#delay-the-load-event">delay the load
-  event</a> of its document.</p>
+  <p>When there is an <a href="#active-parser">active parser</a> in the
+  <code><a href="#the-iframe-element">iframe</a></code>, and when anything in the <code><a href="#the-iframe-element">iframe</a></code> is
+  <a href="#delay-the-load-event" title="delay the load event">delaying the load event</a> of
+  the <code><a href="#the-iframe-element">iframe</a></code>'s <a href="#browsing-context">browsing context</a>'s
+  <a href="#active-document">active document</a>, the <code><a href="#the-iframe-element">iframe</a></code> must
+  <a href="#delay-the-load-event">delay the load event</a> of its document.</p>
 
   <p class="note">If, during the handling of the <code title="event-load"><a href="#event-load">load</a></code> event, the <a href="#browsing-context">browsing
   context</a> in the <code><a href="#the-iframe-element">iframe</a></code> is again <a href="#navigate" title="navigate">navigated</a>, that will further <a href="#delay-the-load-event">delay the

Received on Monday, 15 June 2009 22:31:48 UTC