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
This commit is contained in:
peterv%netscape.com
2002-02-18 22:52:54 +00:00
parent 9c3fae6fd7
commit fc30c42b73

View File

@@ -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;