setInput() public method

You should use setInputFile() or setInputString() if you pass a string
See also: parse()
public setInput ( mixed $fp ) : mixed
$fp mixed Can be either a resource returned from fopen(), a URL, a local filename or a string.
return mixed
 function setInput($fp)
 {
     if (in_array($fp, $this->aTables)) {
         $this->tableName = $fp;
     }
     parent::setInput(MAX_PATH . '/tests/data/testData_' . $fp . '.xml');
 }