You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/07/21 21:00:07 UTC

cvs commit: xml-xalan/c/samples/CompileStylesheet CompileStylesheet.cpp

dbertoni    00/07/21 12:00:07

  Modified:    c/samples/CompileStylesheet CompileStylesheet.cpp
  Log:
  Added terminator function calls, and reset call on the parser liaison.
  
  Revision  Changes    Path
  1.6       +7 -0      xml-xalan/c/samples/CompileStylesheet/CompileStylesheet.cpp
  
  Index: CompileStylesheet.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/CompileStylesheet/CompileStylesheet.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CompileStylesheet.cpp	2000/06/02 15:51:26	1.5
  +++ CompileStylesheet.cpp	2000/07/21 19:00:07	1.6
  @@ -144,9 +144,16 @@
   
   				// Reset the processor and the execution context
   				// so we can perform the next transformation.
  +				// Reset the parser liaison to clear out the
  +				// source document we just transformed.
   				theProcessor.reset();
   				theExecutionContext.reset();
  +				theParserLiaison.reset();
   			}
  +
  +			// Call the static terminators...
  +			XMLPlatformUtils::Terminate();
  +			XSLTEngineImpl::Terminate();
   		}
   		catch(...)
   		{