hixie: internal editor's notes about url parsing (whatwg r4763)

hixie: internal editor's notes about url parsing (whatwg r4763)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3810&r2=1.3811&f=h
http://html5.org/tools/web-apps-tracker?from=4762&to=4763

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3810
retrieving revision 1.3811
diff -u -d -r1.3810 -r1.3811
--- Overview.html 17 Feb 2010 21:30:06 -0000 1.3810
+++ Overview.html 17 Feb 2010 21:57:32 -0000 1.3811
@@ -17725,6 +17725,10 @@
 
    <li>
 
+    <!-- if we get to this point we know we can successfully parsed
+    the URL, since this algorithm is only used after fetching the
+    resource in the steps above -->
+
     <p>Otherwise, if the <a href="#url-path" title="url-path">&lt;path&gt;</a>
     component of the <a href="#url">URL</a> of the specified resource (after
     any redirects) matches a pattern that a <a href="#plugin">plugin</a>
@@ -18081,6 +18085,10 @@
 
        <li>
 
+        <!-- if we get to this point we know we can successfully
+        parsed the URL, since this algorithm is only used after
+        fetching the resource in the steps above -->
+
         <p>If the <var title="">resource type</var> is still unknown
         at this point, but the <a href="#url-path" title="url-path">&lt;path&gt;</a> component of the
         <a href="#url">URL</a> of the specified resource (after any
@@ -32960,6 +32968,9 @@
       <var title="">form data set</var> using the <a href="#application-x-www-form-urlencoded-encoding-algorithm"><code title="">application/x-www-form-urlencoded</code> encoding
       algorithm</a>, interpreted as a US-ASCII string.</p>
 
+      <!-- by this point we've already tried to resolve the URL, so we
+      know we can parse it -->
+
       <p>Let <var title="">destination</var> be a new <a href="#url">URL</a>
       that is equal to the <var title="">action</var> except that its
       <a href="#url-query" title="url-query">&lt;query&gt;</a> component is

Received on Wednesday, 17 February 2010 21:58:19 UTC