diff --git a/SAX/wrappers/saxmsxml2.h b/SAX/wrappers/saxmsxml2.h index 71579b32..27365502 100644 --- a/SAX/wrappers/saxmsxml2.h +++ b/SAX/wrappers/saxmsxml2.h @@ -828,12 +828,12 @@ msxml2_wrapper::msxml2_wrapper() reader_.CreateInstance(MSXML_PROGID_NAME); if (reader_.GetInterfacePtr() == NULL) { - std::cout << "MSXML SAX Reader 4.0 not instanciated, trying older versions." + std::cerr << "MSXML SAX Reader 4.0 not instanciated, trying older versions." << std::endl << std::flush; reader_.CreateInstance(__uuidof(ISAXXMLReader)); if (reader_.GetInterfacePtr() == NULL) { - std::cout << "MSXML SAX Reader (pre-4.0) not instanciated." + std::cerr << "MSXML SAX Reader (pre-4.0) not instanciated." << std::endl << std::flush; exit(1); } @@ -842,7 +842,7 @@ msxml2_wrapper::msxml2_wrapper() reader_->putContentHandler(&contentHandler_); reader_->putErrorHandler(&errorHandler_); reader_->putDTDHandler(&dtdHandler_); - std::cout << "MSXML Wrapper handlers registered" << std::endl << std::flush; + std::cerr << "MSXML Wrapper handlers registered" << std::endl << std::flush; VARIANT wrapper; wrapper.vt = VT_UNKNOWN; @@ -851,7 +851,7 @@ msxml2_wrapper::msxml2_wrapper() wrapper.punkVal = static_cast(&declHandler_); reader_->putProperty(L"http://xml.org/sax/properties/declaration-handler", wrapper); - std::cout << "MSXML Wrapper initialized" << std::endl << std::flush; + std::cerr << "MSXML Wrapper initialized" << std::endl << std::flush; } // msxml2_wrapper template