Use stdout for error messages

This commit is contained in:
James Clark 1998-02-10 01:53:54 +00:00
parent 0f69f9f54b
commit bbc00990f9

View File

@ -118,7 +118,7 @@ void reportError(XML_Parser parser, const char *filename)
int code = XML_GetErrorCode(parser);
const char *message = XML_ErrorString(code);
if (message)
fprintf(stderr, "%s:%d:%ld: %s\n",
fprintf(stdout, "%s:%d:%ld: %s\n",
filename,
XML_GetErrorLineNumber(parser),
XML_GetErrorColumnNumber(parser),