bug 81414, build standalone transformiix, MOZ_XSL->!TX_EXE, r=peterv,cls, sr=scc, a=dbaron (on behalf of drivers)
git-svn-id: svn://10.0.0.236/trunk@96804 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -34,11 +34,11 @@
|
||||
* -- Removed a number of castings of XML_Char to DOM_CHAR since they
|
||||
* were not working on Windows properly
|
||||
*
|
||||
* $Id: XMLParser.cpp,v 1.15 2001-04-12 10:13:07 peterv%netscape.com Exp $
|
||||
* $Id: XMLParser.cpp,v 1.16 2001-06-10 11:30:37 axel%pike.org Exp $
|
||||
*/
|
||||
|
||||
#include "XMLParser.h"
|
||||
#ifdef MOZ_XSL
|
||||
#ifndef TX_EXE
|
||||
#include "nsSyncLoader.h"
|
||||
#include "URIUtils.h"
|
||||
#include "nsIIOService.h"
|
||||
@@ -69,7 +69,7 @@
|
||||
**/
|
||||
XMLParser::XMLParser()
|
||||
{
|
||||
#ifndef MOZ_XSL
|
||||
#ifdef TX_EXE
|
||||
errorState = MB_FALSE;
|
||||
#endif
|
||||
} //-- XMLParser
|
||||
@@ -87,7 +87,7 @@ Document* XMLParser::getDocumentFromURI
|
||||
String documentURL;
|
||||
URIUtils::resolveHref(href, baseUri, documentURL);
|
||||
|
||||
#ifdef MOZ_XSL
|
||||
#ifndef TX_EXE
|
||||
nsresult rv = NS_OK;
|
||||
nsCOMPtr<nsIURI> documentURI;
|
||||
nsCOMPtr<nsIIOService> pService(do_GetService(NS_IOSERVICE_CONTRACTID,
|
||||
@@ -123,7 +123,7 @@ Document* XMLParser::getDocumentFromURI
|
||||
|
||||
}
|
||||
|
||||
#ifndef MOZ_XSL
|
||||
#ifdef TX_EXE
|
||||
/**
|
||||
* Parses the given input stream and returns a DOM Document.
|
||||
* A NULL pointer will be returned if errors occurred
|
||||
|
||||
Reference in New Issue
Block a user