From fc30c42b73f5850b4622900efab2271851aa311f Mon Sep 17 00:00:00 2001 From: "peterv%netscape.com" Date: Mon, 18 Feb 2002 22:52:54 +0000 Subject: [PATCH] Fix for bug 126214 (peterv broke XSLT system-property function). r=sicking, sr=jst. git-svn-id: svn://10.0.0.236/trunk@114818 18797224-902f-48f8-a5cc-f745e15eee43 --- .../source/xslt/functions/SystemPropertyFunctionCall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/extensions/transformiix/source/xslt/functions/SystemPropertyFunctionCall.cpp b/mozilla/extensions/transformiix/source/xslt/functions/SystemPropertyFunctionCall.cpp index d64fed54333..db6ed23c9b8 100644 --- a/mozilla/extensions/transformiix/source/xslt/functions/SystemPropertyFunctionCall.cpp +++ b/mozilla/extensions/transformiix/source/xslt/functions/SystemPropertyFunctionCall.cpp @@ -39,7 +39,7 @@ ExprResult* SystemPropertyFunctionCall::evaluate(Node* context, ContextState* cs exprResult->stringValue(property); if (XMLUtils::isValidQName(property)) { String propertyNsURI, prefix; - XMLUtils::getLocalPart(property, prefix); + XMLUtils::getPrefix(property, prefix); cs->getNameSpaceURIFromPrefix(prefix, propertyNsURI); if (propertyNsURI.isEqual(XSLT_NS)) { String localName;