protected function FeedsExXml::stopErrorHandling in Feeds extensible parsers 7
Same name and namespace in other branches
- 7.2 src/FeedsExXml.inc \FeedsExXml::stopErrorHandling()
Stops internal error handling.
Subclasses can override this to end error handling.
Overrides FeedsExBase::stopErrorHandling
1 call to FeedsExXml::stopErrorHandling()
- FeedsExXml::validateExpression in src/FeedsExXml.inc 
- Validates an expression.
File
- src/FeedsExXml.inc, line 296 
- Contains FeedsExXml.
Class
- FeedsExXml
- Parses XML documents with XPath.
Code
protected function stopErrorHandling() {
  parent::stopErrorHandling();
  libxml_clear_errors();
  libxml_use_internal_errors($this->handleXmlErrors);
  if (function_exists('libxml_disable_entity_loader')) {
    libxml_disable_entity_loader($this->entityLoader);
  }
}