title: Report is always empty created with PhpJasperLibrary
body: <p>I am trying to generate jasper reports with Php using <code>PhpJasperLibrary</code>. I am following this tutorial here at <a href="http://chathurangat.blogspot.com/2012/03/jasperreports-with-php.html" rel="nofollow">http://chathurangat.blogspot.com/2012/03/jasperreports-with-php.html</a>. Reports are created with IReport Designer.</p>
  
  <p>The problem is my IReport Designer creates and previews my testReport.jrxml perfectly with my data but when I follow the tutorial and goes to my browser to preview my report it gives empty document with nothing in it while my IReport Designer shows everything good with data and tables etc.</p>
  
  <p>When I comment <strong>ini_set('display_errors', 0);</strong> It shows following errors.</p>
  
  <pre><code>Warning: simplexml_load_file(): reports/testReport.jrxml:1: parser error : Document is empty in C:\xampp\htdocs\reportviewer.php on line 23
  
  Warning: simplexml_load_file(): in C:\xampp\htdocs\reportviewer.php on line 23
  
  Warning: simplexml_load_file(): ^ in C:\xampp\htdocs\reportviewer.php on line 23
  
  Warning: simplexml_load_file(): reports/testReport.jrxml:1: parser error : Start tag expected, '&lt;' not found in C:\xampp\htdocs\reportviewer.php on line 23
  
  Warning: simplexml_load_file(): in C:\xampp\htdocs\reportviewer.php on line 23
  
  Warning: simplexml_load_file(): ^ in C:\xampp\htdocs\reportviewer.php on line 23
  
  Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\phpjasperlibrary\PHPJasperXML.inc.php on line 109
  
  Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\phpjasperlibrary\PHPJasperXML.inc.php on line 665
  
  Notice: Undefined property: PHPJasperXML::$arrayband in C:\xampp\htdocs\phpjasperlibrary\PHPJasperXML.inc.php on line 953
  
  Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\phpjasperlibrary\PHPJasperXML.inc.php on line 953
  TCPDF ERROR: Some data has already been output, can't send PDF file
  </code></pre>
  
  <p>What can be the problem? as I am following the above tutorial exactly so I might not post php code here except I changed following values.</p>
  
  <pre><code>$server="localhost";
  $db="tcms";
  $user="myUser";
  $pass="abc123";
  $version="0.8b";
  $pgport=5432;
  $pchartfolder="./class/pchart2";
  
  $xml =  simplexml_load_file("reports/testReport.jrxml");
  </code></pre>
  
  <p>Experts I need your suggestions please.</p>