Index: LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js |
diff --git a/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js b/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js |
index 5158841345354f5c2bb6374aa9b908654dc49c81..f6ffb2b761e335d19801879176f397e6b5f94420 100644 |
--- a/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js |
+++ b/LayoutTests/dom/xhtml/level3/core/documentadoptnode04.js |
@@ -116,7 +116,7 @@ function documentadoptnode04() { |
domImpl = doc.implementation; |
newDoc = domImpl.createDocument(rootNS,rootName,nullDocType); |
- newAttr = doc.createAttribute("xml:lang"); |
+ newAttr = doc.createAttributeNS(xmlNS,"xml:lang"); |
adoptedAttr = newDoc.adoptNode(newAttr); |
if( |
@@ -135,6 +135,7 @@ newDoc = domImpl.createDocument(rootNS,rootName,nullDocType); |
isSpecified = adoptedAttr.specified; |
assertEquals("documentadoptnode04_nodeName","xml:lang",nodeName); |
+ assertEquals("documentadoptnode04_namespaceURI",xmlNS,nodeNamespaceURI); |
assertEquals("documentadoptnode04_prefix","xml",nodePrefix); |
assertNull("documentadoptnode04_ownerDoc",attrOwnerElem); |
assertTrue("documentadoptnode04_specified",isSpecified); |