Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser.

This commit is contained in:
nisheeth@netscape.com
1999-03-06 02:01:11 +00:00
parent 0b9e043b27
commit 6b3332eb45
10 changed files with 42 additions and 20 deletions

View File

@@ -157,7 +157,7 @@ public:
NS_IMETHOD AddLeaf(const nsIParserNode& aNode);
NS_IMETHOD AddComment(const nsIParserNode& aNode);
NS_IMETHOD AddProcessingInstruction(const nsIParserNode& aNode);
NS_IMETHOD NotifyError(nsresult aErrorResult);
NS_IMETHOD NotifyError(const nsParserError* aError);
// nsIXMLContentSink
NS_IMETHOD AddXMLDecl(const nsIParserNode& aNode);
@@ -439,7 +439,7 @@ RDFContentSinkImpl::AddLeaf(const nsIParserNode& aNode)
}
NS_IMETHODIMP
RDFContentSinkImpl::NotifyError(nsresult aErrorResult)
RDFContentSinkImpl::NotifyError(const nsParserError* aError)
{
printf("RDFContentSinkImpl::NotifyError\n");
return NS_OK;