added DTD and propagation capabilities; dynamic entities, containers, token handlers

git-svn-id: svn://10.0.0.236/trunk@514 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg
1998-04-22 18:32:49 +00:00
parent 0c45497a29
commit efaf44175a
60 changed files with 5726 additions and 836 deletions

View File

@@ -32,11 +32,12 @@ const char* kBadHTMLText2="</BODY></HTML>";
* @param aURL -- pointer to URL to be loaded
* @return
*------------------------------------------------------*/
CScanner::CScanner(nsIURL* aURL) : mBuffer("") {
CScanner::CScanner(nsIURL* aURL,eParseMode aMode) : mBuffer("") {
NS_ASSERTION(0!=aURL,"Error: Null URL!");
mOffset=0;
mStream=0;
mTotalRead=0;
mParseMode=aMode;
if(aURL) {
PRInt32 error;
gURLRef=aURL->GetSpec();