[html5] r5235 - [t] (0) Minor fixes to the Atom conversion algorithm.

whatwg at whatwg.org whatwg at whatwg.org
Wed Aug 4 13:25:39 PDT 2010


Author: ianh
Date: 2010-08-04 13:25:38 -0700 (Wed, 04 Aug 2010)
New Revision: 5235

Modified:
   complete.html
   index
   source
Log:
[t] (0) Minor fixes to the Atom conversion algorithm.

Modified: complete.html
===================================================================
--- complete.html	2010-08-04 20:07:12 UTC (rev 5234)
+++ complete.html	2010-08-04 20:25:38 UTC (rev 5235)
@@ -56590,9 +56590,10 @@
     document</a>, add a <code title="">type</code> attribute whose
     value is the string "<code><a href=#text/html>text/html</a></code>" to <var title="">x</var>. Otherwise, the document being converted is an
     <a href=#xml-documents title="XML documents">XML document</a>; add a <code title="">type</code> attribute whose value is the string
-    "<code><a href=#application/xhtml+xml>application/xhtml+xml</a></code>" to <var title="">x</var>. Append a text node with its data set to
-    <a href="#the-document's-current-address">the document's current address</a> to <var title="">x</var>. Append <var title="">x</var> to the root element
-    of <var title="">R</var>.</p>
+    "<code><a href=#application/xhtml+xml>application/xhtml+xml</a></code>" to <var title="">x</var>. Add
+    an <code title="">href</code> attribute whose value is <a href="#the-document's-current-address">the
+    document's current address</a> to <var title="">x</var>. Append
+    <var title="">x</var> to the root element of <var title="">R</var>.</p>
 
    </li>
 
@@ -56794,7 +56795,7 @@
       algorithm</a> on <var title="">cloned article</var> to <var title="">x</var>. Append <var title="">x</var> to <var title="">E</var>.</p>
 
       <p>Otherwise, the document being converted is an <a href=#xml-documents title="XML documents">XML document</a>: Let <var title="">x</var> be a <code title="">content</code> element in
-      the <a href=#atom-namespace>Atom namespace</a>. Add a <code title="">type</code> attribute whose value is the string "<code title="">xml</code>" to <var title="">x</var>. Append a
+      the <a href=#atom-namespace>Atom namespace</a>. Add a <code title="">type</code> attribute whose value is the string "<code title="">xhtml</code>" to <var title="">x</var>. Append a
       <code><a href=#the-div-element>div</a></code> element to <var title="">x</var>. Move all the
       child nodes of the <var title="">cloned article</var> node to
       that <code><a href=#the-div-element>div</a></code> element, preserving their relative
@@ -56849,8 +56850,8 @@
 
       <p>If <var title="">has-alternate</var> is true: Let <var title="">x</var> be a <code title="">link</code> element in the
       <a href=#atom-namespace>Atom namespace</a>. Add a <code title="">rel</code>
-      attribute whose value is the string "<code title="">alternate</code>" to <var title="">x</var>. Append a
-      text node with its data set to <var title="">id</var> to <var title="">x</var>. Append <var title="">x</var> to <var title="">E</var>.</p>
+      attribute whose value is the string "<code title="">alternate</code>" to <var title="">x</var>. Add an
+      <code title="">href</code> attribute whose value is <var title="">id</var> to <var title="">x</var>. Append <var title="">x</var> to <var title="">E</var>.</p>
 
      </li>
 

Modified: index
===================================================================
--- index	2010-08-04 20:07:12 UTC (rev 5234)
+++ index	2010-08-04 20:25:38 UTC (rev 5235)
@@ -56517,9 +56517,10 @@
     document</a>, add a <code title="">type</code> attribute whose
     value is the string "<code><a href=#text/html>text/html</a></code>" to <var title="">x</var>. Otherwise, the document being converted is an
     <a href=#xml-documents title="XML documents">XML document</a>; add a <code title="">type</code> attribute whose value is the string
-    "<code><a href=#application/xhtml+xml>application/xhtml+xml</a></code>" to <var title="">x</var>. Append a text node with its data set to
-    <a href="#the-document's-current-address">the document's current address</a> to <var title="">x</var>. Append <var title="">x</var> to the root element
-    of <var title="">R</var>.</p>
+    "<code><a href=#application/xhtml+xml>application/xhtml+xml</a></code>" to <var title="">x</var>. Add
+    an <code title="">href</code> attribute whose value is <a href="#the-document's-current-address">the
+    document's current address</a> to <var title="">x</var>. Append
+    <var title="">x</var> to the root element of <var title="">R</var>.</p>
 
    </li>
 
@@ -56721,7 +56722,7 @@
       algorithm</a> on <var title="">cloned article</var> to <var title="">x</var>. Append <var title="">x</var> to <var title="">E</var>.</p>
 
       <p>Otherwise, the document being converted is an <a href=#xml-documents title="XML documents">XML document</a>: Let <var title="">x</var> be a <code title="">content</code> element in
-      the <a href=#atom-namespace>Atom namespace</a>. Add a <code title="">type</code> attribute whose value is the string "<code title="">xml</code>" to <var title="">x</var>. Append a
+      the <a href=#atom-namespace>Atom namespace</a>. Add a <code title="">type</code> attribute whose value is the string "<code title="">xhtml</code>" to <var title="">x</var>. Append a
       <code><a href=#the-div-element>div</a></code> element to <var title="">x</var>. Move all the
       child nodes of the <var title="">cloned article</var> node to
       that <code><a href=#the-div-element>div</a></code> element, preserving their relative
@@ -56776,8 +56777,8 @@
 
       <p>If <var title="">has-alternate</var> is true: Let <var title="">x</var> be a <code title="">link</code> element in the
       <a href=#atom-namespace>Atom namespace</a>. Add a <code title="">rel</code>
-      attribute whose value is the string "<code title="">alternate</code>" to <var title="">x</var>. Append a
-      text node with its data set to <var title="">id</var> to <var title="">x</var>. Append <var title="">x</var> to <var title="">E</var>.</p>
+      attribute whose value is the string "<code title="">alternate</code>" to <var title="">x</var>. Add an
+      <code title="">href</code> attribute whose value is <var title="">id</var> to <var title="">x</var>. Append <var title="">x</var> to <var title="">E</var>.</p>
 
      </li>
 

Modified: source
===================================================================
--- source	2010-08-04 20:07:12 UTC (rev 5234)
+++ source	2010-08-04 20:25:38 UTC (rev 5235)
@@ -63849,11 +63849,11 @@
     title="">x</var>. Otherwise, the document being converted is an
     <span title="XML documents">XML document</span>; add a <code
     title="">type</code> attribute whose value is the string
-    "<code>application/xhtml+xml</code>" to <var
-    title="">x</var>. Append a text node with its data set to
-    <span>the document's current address</span> to <var
-    title="">x</var>. Append <var title="">x</var> to the root element
-    of <var title="">R</var>.</p>
+    "<code>application/xhtml+xml</code>" to <var title="">x</var>. Add
+    an <code title="">href</code> attribute whose value is <span>the
+    document's current address</span> to <var title="">x</var>. Append
+    <var title="">x</var> to the root element of <var
+    title="">R</var>.</p>
 
    </li>
 
@@ -64085,7 +64085,7 @@
       title="">x</var> be a <code title="">content</code> element in
       the <span>Atom namespace</span>. Add a <code
       title="">type</code> attribute whose value is the string "<code
-      title="">xml</code>" to <var title="">x</var>. Append a
+      title="">xhtml</code>" to <var title="">x</var>. Append a
       <code>div</code> element to <var title="">x</var>. Move all the
       child nodes of the <var title="">cloned article</var> node to
       that <code>div</code> element, preserving their relative
@@ -64155,10 +64155,10 @@
       title="">x</var> be a <code title="">link</code> element in the
       <span>Atom namespace</span>. Add a <code title="">rel</code>
       attribute whose value is the string "<code
-      title="">alternate</code>" to <var title="">x</var>. Append a
-      text node with its data set to <var title="">id</var> to <var
-      title="">x</var>. Append <var title="">x</var> to <var
-      title="">E</var>.</p>
+      title="">alternate</code>" to <var title="">x</var>. Add an
+      <code title="">href</code> attribute whose value is <var
+      title="">id</var> to <var title="">x</var>. Append <var
+      title="">x</var> to <var title="">E</var>.</p>
 
      </li>
 




More information about the Commit-Watchers mailing list