X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fclasses%2Fmain%2Fparser%2Fxml%2Fclass_XmlParser.php;h=d8cf17a68e9309b408e7efc5757d121aa43fccb1;hb=0088a32f8609875b6151dfa516f7c2d92fa3a5a8;hp=3394a85ae13d75faab0acd1316edfa4ab50fb510;hpb=e7040f10e90178e789f97ef7e195b479250e241a;p=core.git diff --git a/inc/classes/main/parser/xml/class_XmlParser.php b/inc/classes/main/parser/xml/class_XmlParser.php index 3394a85a..d8cf17a6 100644 --- a/inc/classes/main/parser/xml/class_XmlParser.php +++ b/inc/classes/main/parser/xml/class_XmlParser.php @@ -68,7 +68,7 @@ class XmlParser extends BaseParser implements Parseable { self::createDebugInstance(__CLASS__)->debugOutput('Empty content! Backtrace:
');
 			debug_print_backtrace();
 			self::createDebugInstance(__CLASS__)->debugOutput('
'); - die(); + exit(); } elseif (function_exists('recode')) { // Recode found, so use it $content = recode('html..utf8', $content); @@ -102,7 +102,7 @@ class XmlParser extends BaseParser implements Parseable { // Now parse the XML tree if (!xml_parse($xmlParser, $content)) { // Error found in XML! - //* DEBUG: */ die(__METHOD__ . ':
'.htmlentities($content).'
'); + //* DEBUG: */ exit(__METHOD__ . ':
'.htmlentities($content).'
'); throw new XmlParserException(array($this, $xmlParser), self::EXCEPTION_XML_PARSER_ERROR); } // END - if