NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 163 - Make it a parse error to have incorrect xmlns='' attributes.
Make it a parse error to have incorrect xmlns='' attributes.
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-20 21:26 CEST by Nobody
Modified: 2008-06-25 15:32 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody 2008-04-20 21:26:01 CEST
Index: source
===================================================================
--- source	(revision 1414)
+++ source	(revision 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