spec/Overview.html 1.1013 1824 Make the \ -> / conversion not happen in

Make the \ -> / conversion not happen in mailto:, data:, etc. (whatwg
r1824) (changed by: Ian Hickson)

Diffs for this change per section: 
  http://people.w3.org/mike/diffs/html5/spec/Overview.1.1013.html#parse0
  http://people.w3.org/mike/diffs/html5/spec/Overview.1.1013.html#ltfragmentgt
  http://people.w3.org/mike/diffs/html5/spec/Overview.1.1013.html#resolve

Current content per affected section: 
  http://dev.w3.org/html5/spec/Overview.html#parse0
  http://dev.w3.org/html5/spec/Overview.html#ltfragmentgt
  http://dev.w3.org/html5/spec/Overview.html#resolve

Previously published WD content per affected section: 
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#parse0
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#ltfragmentgt
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#resolve

Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1012&r2=1.1013&f=h

http://html5.org/tools/web-apps-tracker?from=1823&to=1824

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1012
retrieving revision 1.1013
diff -u -d -r1.1012 -r1.1013
--- Overview.html	27 Jun 2008 23:04:56 -0000	1.1012
+++ Overview.html	27 Jun 2008 23:27:15 -0000	1.1013
@@ -2834,10 +2834,6 @@
      character">space characters</a> from <var title="">url</var>.
 
    <li>
-    <p>Replace all U+005C REVERSE SOLIDUS (\) characters in <var
-     title="">url</var> with U+002F SOLIDUS (/) characters.
-
-   <li>
     <p>Parse <var title="">url</var> in the manner defined by RFC 3986, with
      the following exceptions:</p>
 
@@ -2939,6 +2935,9 @@
       <p>The substring matched by the &lt;fragment&gt; production, if any.
     </dl>
   </ol>
+  <!-- XXX we might want to define "server-based naming authority",
+  it's not clear RFC3986 does a good job of defining that anymore
+  (earlier URI specs did) -->
 
   <h4 id=resolving><span class=secno>2.3.3 </span>Resolving URLs</h4>
 
@@ -3116,13 +3115,21 @@
     <p class=example>For instance, if an absolute URI that would be returned
      by the above algorithm violates the restrictions specific to its scheme,
      e.g. a <code title="">data:</code> URI using the "<code
-     title="">//</code>" naming authority syntax, then user agents are to
-     treat this as an error instead.<!-- RFC 3986, 3.1
-    Scheme --></p>
+     title="">//</code>" server-based naming authority syntax, then user
+     agents are to treat this as an error instead.<!-- RFC
+    3986, 3.1 Scheme --></p>
 
    <li>
-    <p>Return the target URI (<var title="">T</var>) returned by the Relative
-     Resolution algorithm.
+    <p>Let <var title="">result</var> be the target URI (<var
+     title="">T</var>) returned by the Relative Resolution algorithm.
+
+   <li>
+    <p>If <var title="">result</var> uses a scheme with a server-based naming
+     authority, replace all U+005C REVERSE SOLIDUS (\) characters in <var
+     title="">result</var> with U+002F SOLIDUS (/) characters.
+
+   <li>
+    <p>Return <var title="">result</var>.
   </ol>
 
   <p>A <a href="#url">URL</a> is an <dfn id=absolute>absolute URL</dfn> if <a

Received on Saturday, 28 June 2008 04:10:20 UTC