protected static function XmlParserTrait::startXmlErrorHandling in Feeds 8.3
Starts custom error handling.
2 calls to XmlParserTrait::startXmlErrorHandling()
- SitemapParser::parse in src/
Feeds/ Parser/ SitemapParser.php - Parses content returned by fetcher.
- XmlParserTrait::getDomDocument in src/
Component/ XmlParserTrait.php - Returns a new DOMDocument.
File
- src/
Component/ XmlParserTrait.php, line 76
Class
- XmlParserTrait
- Helper methods for dealing with XML documents.
Namespace
Drupal\feeds\ComponentCode
protected static function startXmlErrorHandling() {
static::$_useError = libxml_use_internal_errors(TRUE);
static::$_entityLoader = libxml_disable_entity_loader(TRUE);
libxml_clear_errors();
}