title: Unable to parse XML from string
body: <p>I am trying to parse XML to array using <a href="https://github.com/orchestral/parser" rel="nofollow noreferrer">https://github.com/orchestral/parser</a>,  which is a XML Document Parser package for Laravel.</p>
  
  <p>When i try to run the code i get an error that says:</p>
  
  <p><code>Unable to parse XML from string.</code></p>
  
  <p>Below is my test.xml file that I am trying to parse to array. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;api&gt;
  &lt;user followers="5"&gt;
  &lt;id&gt;1&lt;/id&gt;
  &lt;email&gt;crynobone@gmail.com&lt;/email&gt;
  &lt;/user&gt;
  &lt;/api&gt;
  </code></pre>
  
  <p>and in my <strong>Controller</strong> this is how I am trying to parse the xml file </p>
  
  <pre><code>public function index()
  {
  
  $xml = XmlParser::load('test.xml');
  $user = $xml-&gt;parse([
  'id' =&gt; ['uses' =&gt; 'user.id'],
  'email' =&gt; ['uses' =&gt; 'user.email'],
  'followers' =&gt; ['uses' =&gt; 'user::followers'],
  ]);
  
  print_r($user);
  
  }
  </code></pre>
  
  <p>Does anyone have an idea why I am failing to parse the xml to array?</p>