You are here

function XMLParser::HandleError in Asset 5

Same name and namespace in other branches
  1. 6 asset_youtube/xmlparser.class.php \XMLParser::HandleError()
  2. 6 asset_youtube/inc/xmlparser.class.php \XMLParser::HandleError()

Handles an XML parsing error

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 XMLParser::HandleError()
XMLParser::Parse in asset_youtube/xmlparser.class.php
Initiates and runs PHP's XML parser

File

asset_youtube/xmlparser.class.php, line 100

Class

XMLParser
XML Parser Class (php4)

Code

function HandleError($code, $line, $col) {
  trigger_error('XML Parsing Error at ' . $line . ':' . $col . '. Error ' . $code . ': ' . xml_error_string($code));
}