Print message in case of XML error