$str = mb_convert_encoding($str, "UTF-8", "windows-1251");
$str = str_replace("&ndash", '-', $str);
// ОШибочки
libxml_use_internal_errors(true);
$xml = simplexml_load_string($str);
if (false === $xml) {
$errors = libxml_get_errors();
echo 'Errors are ' . var_export($errors, true);
throw new \Exception('invalid XML');
}