hixie: Define how a URL is established as being 'hierarchical' or 'authority-based'. (whatwg r4965)

hixie: Define how a URL is established as being 'hierarchical' or
'authority-based'. (whatwg r4965)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3986&r2=1.3987&f=h
http://html5.org/tools/web-apps-tracker?from=4964&to=4965

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3986
retrieving revision 1.3987
diff -u -d -r1.3986 -r1.3987
--- Overview.html 4 Apr 2010 07:03:10 -0000 1.3986
+++ Overview.html 4 Apr 2010 07:43:12 -0000 1.3987
@@ -4786,7 +4786,13 @@
   specification. <a href="#refsWEBADDRESSES">[WEBADDRESSES]</a><p>A <a href="#url">URL</a> is a <dfn id="valid-non-empty-url">valid non-empty URL</dfn> if it is a
   <a href="#valid-url">valid URL</a> but it is not the empty string.<p>A <a href="#url">URL</a> is an <dfn id="absolute-url">absolute URL</dfn> if it is an
   <span>absolute Web address</span> as defined by the Web addresses
-  specification. <a href="#refsWEBADDRESSES">[WEBADDRESSES]</a><div class="impl">
+  specification. <a href="#refsWEBADDRESSES">[WEBADDRESSES]</a><p>An <a href="#absolute-url">absolute URL</a> is a <dfn id="hierarchical-url">hierarchical URL</dfn> if,
+  when <a href="#parse-a-url" title="parse a url">parsed</a>, there is a character
+  immediately after the <a href="#url-scheme" title="url-scheme">&lt;scheme&gt;</a>
+  component and it is a U+002F SOLIDUS character (/).<p>An <a href="#absolute-url">absolute URL</a> is an <dfn id="authority-based-url">authority-based URL</dfn>
+  if, when <a href="#parse-a-url" title="parse a url">parsed</a>, there are two
+  characters immediately after the <a href="#url-scheme" title="url-scheme">&lt;scheme&gt;</a> component and they are both
+  U+002F SOLIDUS characters (//).<div class="impl">
 
   <p>To <dfn id="parse-a-url">parse a URL</dfn> <var title="">url</var> into its
   component parts, the user agent must use the <span>parse a Web
@@ -5052,42 +5058,42 @@
      <td>The new value is not the empty string
     <tr><td><dfn id="dom-uda-host" title="dom-uda-host"><code>host</code></dfn>
      <td><a href="#url-hostport" title="url-hostport">&lt;hostport&gt;</a>
-     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical and uses a server-based naming authority
+     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is an <a href="#authority-based-url">authority-based URL</a>
      <td>&mdash;
      <td>&mdash;
      <td>&mdash;
-     <td>The new value is not the empty string and <a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical and uses a server-based naming authority
+     <td>The new value is not the empty string and <a href="#concept-uda-input" title="concept-uda-input">input</a> is an <a href="#authority-based-url">authority-based URL</a>
     <tr><td><dfn id="dom-uda-hostname" title="dom-uda-hostname"><code>hostname</code></dfn>
      <td><a href="#url-host" title="url-host">&lt;host&gt;</a>
-     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical and uses a server-based naming authority
+     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is an <a href="#authority-based-url">authority-based URL</a>
      <td>&mdash;
      <td>&mdash;
      <td>Remove all leading U+002F SOLIDUS characters (/)
-     <td>The new value is not the empty string and <a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical and uses a server-based naming authority
+     <td>The new value is not the empty string and <a href="#concept-uda-input" title="concept-uda-input">input</a> is an <a href="#authority-based-url">authority-based URL</a>
     <tr><td><dfn id="dom-uda-port" title="dom-uda-port"><code>port</code></dfn>
      <td><a href="#url-port" title="url-port">&lt;port&gt;</a>
-     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical, uses a server-based naming authority, and contained a <a href="#url-port" title="url-port">&lt;port&gt;</a> component (possibly an empty one)
+     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is an <a href="#authority-based-url">authority-based URL</a>, and contained a <a href="#url-port" title="url-port">&lt;port&gt;</a> component (possibly an empty one)
      <td>&mdash;
      <td>&mdash;
      <td>Remove all characters in the new value from the first that is not in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), if any.
          Remove any leading U+0030 DIGIT ZERO characters (0) in the new value.
          If the resulting string is empty, set it to a single U+0030 DIGIT ZERO character (0).
-     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical and uses a server-based naming authority,
+     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is an <a href="#authority-based-url">authority-based URL</a>,
          and the new value, when interpretted as a base-ten integer, is less than or equal to 65535
     <tr><td><dfn id="dom-uda-pathname" title="dom-uda-pathname"><code>pathname</code></dfn>
      <td><a href="#url-path" title="url-path">&lt;path&gt;</a>
-     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical
+     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is a <a href="#hierarchical-url">hierarchical URL</a>
      <td>&mdash;
      <td>&mdash;
      <td>If it has no leading U+002F SOLIDUS character (/), prepend a U+002F SOLIDUS character (/) to the new value
      <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical
     <tr><td><dfn id="dom-uda-search" title="dom-uda-search"><code>search</code></dfn>
      <td><a href="#url-query" title="url-query">&lt;query&gt;</a>
-     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical, and contained a <a href="#url-query" title="url-query">&lt;query&gt;</a> component (possibly an empty one)
+     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is a <a href="#hierarchical-url">hierarchical URL</a>, and contained a <a href="#url-query" title="url-query">&lt;query&gt;</a> component (possibly an empty one)
      <td>U+003F QUESTION MARK (?)
      <td>&mdash;
      <td>Remove one leading U+003F QUESTION MARK character (?), if any
-     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is hierarchical
+     <td><a href="#concept-uda-input" title="concept-uda-input">input</a> is a <a href="#hierarchical-url">hierarchical URL</a>
     <tr><td><dfn id="dom-uda-hash" title="dom-uda-hash"><code>hash</code></dfn>
      <td><a href="#url-fragment" title="url-fragment">&lt;fragment&gt;</a>
      <td><a href="#concept-uda-input" title="concept-uda-input">input</a> contained a non-empty <a href="#url-fragment" title="url-fragment">&lt;fragment&gt;</a> component
@@ -41880,7 +41886,8 @@
 
     </ol><p>For the purposes of the comparisons in the above substeps, the
     <a href="#url-path" title="url-path">&lt;path&gt;</a> and <a href="#url-query" title="url-query">&lt;query&gt;</a> components can only be the
-    same if the URLs use a hierarchical <a href="#url-scheme" title="url-scheme">&lt;scheme&gt;</a>.</p>
+    same if the URLs are both <a href="#hierarchical-url" title="hierarchical
+    URL">hierarchical URLs</a>.</p>
 
    </li>

Received on Sunday, 4 April 2010 07:43:57 UTC