tng 2003/01/24 12:21:46 Modified: c/src/xercesc/dom/impl DOMWriterImpl.cpp Log: DOMWriter: Call XMLFormatTarget::flush when done. Revision Changes Path 1.28 +11 -1 xml-xerces/c/src/xercesc/dom/impl/DOMWriterImpl.cpp Index: DOMWriterImpl.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/impl/DOMWriterImpl.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- DOMWriterImpl.cpp 20 Jan 2003 16:50:13 -0000 1.27 +++ DOMWriterImpl.cpp 24 Jan 2003 20:21:46 -0000 1.28 @@ -57,6 +57,9 @@ /* * $Id$ * $Log$ + * Revision 1.28 2003/01/24 20:21:46 tng + * DOMWriter: Call XMLFormatTarget::flush when done. + * * Revision 1.27 2003/01/20 16:50:13 tng * DOMWriter fix: * 1. wrong wrong nested cdata message @@ -545,6 +548,7 @@ { Janitor<XMLFormatter> janName(fFormatter); processNode(&nodeToWrite); + destination->flush(); } // @@ -556,11 +560,13 @@ // catch (const TranscodingException&) { + destination->flush(); return false; } catch (const XMLDOMMsg::Codes) { + destination->flush(); return false; } @@ -575,6 +581,7 @@ { // REVISIT generate a DOMSystemException wrapping the underlying // exception. + destination->flush(); throw; }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]