xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/XSLT StylesheetRoot.cpp
Date Thu, 14 Nov 2002 20:05:27 GMT
dbertoni    2002/11/14 12:05:27

  Modified:    c/src/XSLT StylesheetRoot.cpp
  Log:
  Don't use std::cout as the fallback target.
  
  Revision  Changes    Path
  1.69      +4 -13     xml-xalan/c/src/XSLT/StylesheetRoot.cpp
  
  Index: StylesheetRoot.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/StylesheetRoot.cpp,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- StylesheetRoot.cpp	6 Nov 2002 05:09:48 -0000	1.68
  +++ StylesheetRoot.cpp	14 Nov 2002 20:05:27 -0000	1.69
  @@ -68,14 +68,6 @@
   
   
   
  -#if defined(XALAN_OLD_STREAM_HEADERS)
  -#include <iostream.h>
  -#else
  -#include <iostream>
  -#endif
  -
  -
  -
   #include <XalanDOM/XalanDocumentFragment.hpp>
   
   
  @@ -319,11 +311,10 @@
   			}
   			else
   			{
  -#if !defined(XALAN_NO_NAMESPACES)
  -				using std::cout;
  -#endif
  -
  -				pw = executionContext.createPrintWriter(cout);
  +				executionContext.error(
  +					"There is no valid result target",
  +					executionContext.getCurrentNode(),
  +					0);
   			}
   		}
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message