Fix bad automatic trunk merge.
authorHenri Sivonen <hsivonen@iki.fi>
Wed, 17 Jun 2009 10:51:23 +0300
changeset 29760 775f6f6524e99d5fee36ce8f63bceb2877ba31b5
parent 29759 ecf28b25abc99b673b25a0aa5940df6aff17d3ae
child 29761 b3f8e899421d9d4bcade7ef13f45e5b548f7ed37
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
milestone1.9.2a1pre
Fix bad automatic trunk merge.
content/xslt/src/xslt/txUnknownHandler.cpp
--- a/content/xslt/src/xslt/txUnknownHandler.cpp
+++ b/content/xslt/src/xslt/txUnknownHandler.cpp
@@ -88,17 +88,17 @@ txUnknownHandler::startElement(nsIAtom* 
     nsCOMPtr<nsIAtom> owner;
     if (!aLowercaseLocalName) {
         owner = TX_ToLowerCaseAtom(aLocalName);
         NS_ENSURE_TRUE(owner, NS_ERROR_OUT_OF_MEMORY);
         
         aLowercaseLocalName = owner;
     }
 
-    PRBool htmlRoot = aNsID == kNameSpaceID_XHTML && !aPrefix &&
+    PRBool htmlRoot = aNsID == kNameSpaceID_None && !aPrefix &&
                       aLowercaseLocalName == txHTMLAtoms::html;
 
     // Use aLocalName and not aLowercaseLocalName in case the output
     // handler cares about case. For eHTMLOutput the handler will hardcode
     // to 'html' anyway.
     nsAutoString name;
     aLocalName->ToString(name);
     nsresult rv = createHandlerAndFlush(htmlRoot, name, aNsID);