Fix for Bug# 3571.

Added Terminate() method in nsIDTD.
This commit is contained in:
harishd@netscape.com
1999-07-27 00:54:46 +00:00
parent 04fa938cc9
commit 51fb0d3d0b
34 changed files with 432 additions and 32 deletions
@@ -467,6 +467,21 @@ nsITokenRecycler* CViewSourceHTML::GetTokenRecycler(void){
return 0;
}
/**
* Use this id you want to stop the building content model
* --------------[ Sets DTD to STOP mode ]----------------
* It's recommended to use this method in accordance with
* the parser's terminate() method.
*
* @update harishd 07/22/99
* @param
* @return
*/
nsresult CViewSourceHTML::Terminate(void)
{
return NS_ERROR_HTMLPARSER_STOPPARSING;
}
/**
* Retrieve the preferred tokenizer for use by this DTD.
* @update gess12/28/98