- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 04 Apr 2010 07:43:18 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20495
Modified Files:
Overview.html
Log Message:
Define how a URL is established as being 'hierarchical' or 'authority-based'. (whatwg r4965)
Index: Overview.html
===================================================================
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"><scheme></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"><scheme></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"><hostport></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>—
<td>—
<td>—
- <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"><host></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>—
<td>—
<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"><port></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"><port></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"><port></a> component (possibly an empty one)
<td>—
<td>—
<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"><path></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>—
<td>—
<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"><query></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"><query></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"><query></a> component (possibly an empty one)
<td>U+003F QUESTION MARK (?)
<td>—
<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"><fragment></a>
<td><a href="#concept-uda-input" title="concept-uda-input">input</a> contained a non-empty <a href="#url-fragment" title="url-fragment"><fragment></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"><path></a> and <a href="#url-query" title="url-query"><query></a> components can only be the
- same if the URLs use a hierarchical <a href="#url-scheme" title="url-scheme"><scheme></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:20 UTC