Index: Source/core/xml/parser/XMLDocumentParser.cpp |
diff --git a/Source/core/xml/parser/XMLDocumentParser.cpp b/Source/core/xml/parser/XMLDocumentParser.cpp |
index 21545a81d4800a3b9498283d90811220890c1c3c..bdeebff53c0283f1415e9ae6c1da133e06794366 100644 |
--- a/Source/core/xml/parser/XMLDocumentParser.cpp |
+++ b/Source/core/xml/parser/XMLDocumentParser.cpp |
@@ -915,7 +915,7 @@ static inline void handleNamespaceAttributes(Vector<Attribute>& prefixedAttribut |
AtomicString namespaceQName = xmlnsAtom; |
AtomicString namespaceURI = toAtomicString(namespaces[i].uri); |
if (namespaces[i].prefix) |
- namespaceQName = "xmlns:" + toString(namespaces[i].prefix); |
+ namespaceQName = WTF::xmlnsWithColon + namespaces[i].prefix; |
QualifiedName parsedName = anyName; |
if (!Element::parseAttributeName(parsedName, XMLNSNames::xmlnsNamespaceURI, namespaceQName, exceptionState)) |