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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]