diff --git a/vendor/PicoFeed/Filter.php b/vendor/PicoFeed/Filter.php index d5f2f6b..3053e1d 100644 --- a/vendor/PicoFeed/Filter.php +++ b/vendor/PicoFeed/Filter.php @@ -129,13 +129,7 @@ class Filter xml_set_element_handler($parser, 'startTag', 'endTag'); xml_set_character_data_handler($parser, 'dataTag'); xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, false); - - if (! xml_parse($parser, $this->input, true)) { - - //var_dump($this->input); - die(xml_get_current_line_number($parser).'|'.xml_error_string(xml_get_error_code($parser))); - } - + xml_parse($parser, $this->input, true); // We ignore parsing error (for old libxml) xml_parser_free($parser); return $this->data; diff --git a/vendor/PicoFeed/Parsers/Atom.php b/vendor/PicoFeed/Parsers/Atom.php index 6e925d0..07a9329 100644 --- a/vendor/PicoFeed/Parsers/Atom.php +++ b/vendor/PicoFeed/Parsers/Atom.php @@ -9,7 +9,6 @@ class Atom extends Parser $this->content = $this->normalizeData($this->content); \libxml_use_internal_errors(true); - $xml = \simplexml_load_string($this->content); if ($xml === false) {