msxml3: Do not invoke ISAXXMLReader_endDocument when parser was stopped.

This commit is contained in:
Piotr Caban 2008-07-19 22:31:56 +02:00 committed by Alexandre Julliard
parent 216d4c0834
commit 2cb215b51f
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ static void libxmlEndDocument(void *ctx)
This->lastColumn = 0;
This->lastLine = 0;
if(This->ret != S_OK) return;
if(This->saxreader->contentHandler)
{
hr = ISAXContentHandler_endDocument(This->saxreader->contentHandler);