error_reporting for XML_Serializer