function JSimpleXML::_handleError in Ubercart 5
Handles an XML parsing error
@access protected
Parameters
int $code XML Error Code:
int $line Line on which the error happened:
int $col Column on which the error happened:
1 call to JSimpleXML::_handleError()
- JSimpleXML::_parse in uc_store/
includes/ simplexml.php - Start parsing an XML document
File
- uc_store/
includes/ simplexml.php, line 263
Class
- JSimpleXML
- SimpleXML implementation.
Code
function _handleError($code, $line, $col) {
watchdog('JSimpleXML', 'XML Parsing Error at ' . $line . ':' . $col . '. Error ' . $code . ': ' . xml_error_string($code), WATCHDOG_ERROR);
}