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..7aac8b15ff0d29d9631f5d20e5f63999d7b5e676 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 + toString(namespaces[i].prefix); |
adamk
2014/09/22 18:33:05
You can get rid of the toString() call on the righ
|
QualifiedName parsedName = anyName; |
if (!Element::parseAttributeName(parsedName, XMLNSNames::xmlnsNamespaceURI, namespaceQName, exceptionState)) |