// Now parse the XML tree
if (!xml_parse($xmlParser, $content)) {
// Error found in XML!
- //* DEBUG: */ die('<pre>'.htmlentities($content).'</pre>');
+ //* DEBUG: */ die(__METHOD__ . ':<pre>'.htmlentities($content).'</pre>');
throw new XmlParserException(array($this, $xmlParser), self::EXCEPTION_XML_PARSER_ERROR);
} // END - if
// If the basePath is false it is invalid
if ($basePath2 === false) {
/* @todo: Do not die here. */
- die('Cannot read ' . $basePath . ' !');
+ die(__METHOD__ . ':Cannot read ' . $basePath . ' !');
} else {
// Set base path
$basePath = $basePath2;