[html5] r1415 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Apr 7 23:46:34 PDT 2008


Author: ianh
Date: 2008-04-07 23:46:31 -0700 (Mon, 07 Apr 2008)
New Revision: 1415

Modified:
   index
   source
Log:
[c] (0) Make it a parse error to have incorrect xmlns='' attributes.

Modified: index
===================================================================
--- index	2008-04-08 06:43:36 UTC (rev 1414)
+++ index	2008-04-08 06:46:31 UTC (rev 1415)
@@ -45405,6 +45405,10 @@
     <p><a href="#insert1">Insert a foreign element</a> for the token, in the
      same namespace as the <a href="#current4">current node</a>.</p>
 
+    <p>If the element has an <code title="">xmlns</code> attribute in the <a
+     href="#xmlns">XMLNS namespace</a> whose value is not exactly the same as
+     the element's namespace, that is a <a href="#parse1">parse error</a>.</p>
+
     <p>If the token has its <i>self-closing flag</i> set, pop the <a
      href="#current4">current node</a> off the <a href="#stack">stack of open
      elements</a> and <a href="#acknowledged" title="acknowledge self-closing

Modified: source
===================================================================
--- source	2008-04-08 06:43:36 UTC (rev 1414)
+++ source	2008-04-08 06:46:31 UTC (rev 1415)
@@ -42173,6 +42173,11 @@
     <p><span>Insert a foreign element</span> for the token, in the
     same namespace as the <span>current node</span>.</p>
 
+    <p>If the element has an <code title="">xmlns</code> attribute in
+    the <span>XMLNS namespace</span> whose value is not exactly the
+    same as the element's namespace, that is a <span>parse
+    error</span>.</p>
+
     <p>If the token has its <i>self-closing flag</i> set, pop the
     <span>current node</span> off the <span>stack of open
     elements</span> and <span title="acknowledge self-closing




More information about the Commit-Watchers mailing list