- Move AddDocTypeDecl method from nsIXMLContentSink to nsIContentSink.

- Fix bug 8607 by passing the XML decl and the doctype decl from the expat tokenizer to the XML DTD.
This commit is contained in:
nisheeth@netscape.com
1999-07-26 05:40:25 +00:00
parent da17ec6745
commit d162e65cd8
28 changed files with 420 additions and 48 deletions
+11
View File
@@ -589,6 +589,17 @@ nsHTMLToTXTSinkStream::AddProcessingInstruction(const nsIParserNode& aNode){
return NS_OK;
}
/**
* This gets called by the parser when it encounters
* a DOCTYPE declaration in the HTML document.
*/
NS_IMETHODIMP
nsHTMLToTXTSinkStream::AddDocTypeDecl(const nsIParserNode& aNode)
{
return NS_OK;
}
/**
* This gets called by the parser when you want to add
* a comment node to the current container in the content