From 9364f22aed35e1a1e9d07c121510f80be3ab0502 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 21 Oct 2008 07:00:00 -0700 Subject: Initial Contribution --- WebCore/xml/XPathFunctions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'WebCore/xml/XPathFunctions.cpp') diff --git a/WebCore/xml/XPathFunctions.cpp b/WebCore/xml/XPathFunctions.cpp index 841b436..9e12d28 100644 --- a/WebCore/xml/XPathFunctions.cpp +++ b/WebCore/xml/XPathFunctions.cpp @@ -326,7 +326,7 @@ Value FunLocalName::evaluate() const if (!node) node = evaluationContext().node.get(); - return node->localName().string(); + return node->localName().domString(); } Value FunNamespaceURI::evaluate() const @@ -345,7 +345,7 @@ Value FunNamespaceURI::evaluate() const if (!node) node = evaluationContext().node.get(); - return node->namespaceURI().string(); + return node->namespaceURI().domString(); } Value FunName::evaluate() const @@ -365,7 +365,7 @@ Value FunName::evaluate() const node = evaluationContext().node.get(); const AtomicString& prefix = node->prefix(); - return prefix.isEmpty() ? node->localName().string() : prefix + ":" + node->localName(); + return prefix.isEmpty() ? node->localName().domString() : prefix + ":" + node->localName(); } Value FunCount::evaluate() const -- cgit v1.1