html5/spec Overview.html,1.1012,1.1013

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4760

Modified Files:
	Overview.html 
Log Message:
Make the \ -> / conversion not happen in mailto:, data:, etc. (whatwg r1824)

Index: Overview.html
===================================================================
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 Friday, 27 June 2008 23:27:53 UTC