Index: LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js |
diff --git a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js |
index d127591271fea08bd8c181e4040033dbe3c64db1..ad88be15ad492668269f3afd1997a83a0698819c 100644 |
--- a/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js |
+++ b/LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.js |
@@ -103,8 +103,8 @@ function nodecomparedocumentposition15() { |
docElem = doc.documentElement; |
docFrag = doc.createDocumentFragment(); |
- attr = doc.createAttribute("xml:lang"); |
- attrNode = docElem.setAttributeNode(attr); |
+ attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:lang"); |
+ attrNode = docElem.setAttributeNodeNS(attr); |
appendedChild = docFrag.appendChild(docElem); |
docFragChild = docFrag.firstChild; |