Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser.

git-svn-id: svn://10.0.0.236/trunk@113450 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
heikki%netscape.com
2002-02-01 22:28:55 +00:00
parent ae9adfc171
commit 51cf66c5f5
20 changed files with 29 additions and 30 deletions

View File

@@ -52,7 +52,7 @@
#include "nsTextFormatter.h"
static const PRUint32 kNotInDoctype = PRUint32(-1);
static const char* kDTDDirectory = "dtd/";
static const char* kDTDDirectory = "res/dtd/";
/***************************** EXPAT CALL BACKS *******************************/
@@ -436,10 +436,9 @@ RemapDTD(const XML_Char* aPublicID, nsAWritableCString& aLocalDTD)
}
// aDTD is an in/out parameter. Returns true if the aDTD is a chrome url or if the
// filename contained within the url exists in the special DTD directory ("dtd"
// relative to the current process directory). For the latter case, aDTD is set
// to the file: url that points to the DTD file found in the local DTD directory
// AND the old URI is relased.
// filename contained within the url exists in the special DTD directory.
// For the latter case, aDTD is set to the file: url that points to the DTD
// file found in the local DTD directory AND the old URI is relased.
static PRBool
IsLoadableDTD(const XML_Char* aFPIStr, nsCOMPtr<nsIURI>* aDTD)
{