From 35583114f424374e2dfea7bf10ef751e7de40583 Mon Sep 17 00:00:00 2001 From: "peterv%propagandism.org" Date: Sat, 11 Nov 2006 00:49:10 +0000 Subject: [PATCH] Additional fix for bug 352601 (XSLT forwards compatible processing enabled when it shouldn't). rs=sicking. git-svn-id: svn://10.0.0.236/trunk@215140 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/xslt/src/xslt/txStylesheetCompileHandlers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/content/xslt/src/xslt/txStylesheetCompileHandlers.cpp b/mozilla/content/xslt/src/xslt/txStylesheetCompileHandlers.cpp index 43c1d445944..0df6490ef22 100644 --- a/mozilla/content/xslt/src/xslt/txStylesheetCompileHandlers.cpp +++ b/mozilla/content/xslt/src/xslt/txStylesheetCompileHandlers.cpp @@ -431,7 +431,7 @@ txFnStartElementIgnore(PRInt32 aNamespaceID, PRInt32 aAttrCount, txStylesheetCompilerState& aState) { - if (aNamespaceID == kNameSpaceID_XSLT && !aState.fcp()) { + if (!aState.fcp()) { clearAttributes(aAttributes, aAttrCount); } @@ -452,7 +452,7 @@ txFnStartElementSetIgnore(PRInt32 aNamespaceID, PRInt32 aAttrCount, txStylesheetCompilerState& aState) { - if (aNamespaceID == kNameSpaceID_XSLT && !aState.fcp()) { + if (!aState.fcp()) { clearAttributes(aAttributes, aAttrCount); }