title: DOMDocument::loadXML(): Start tag expected: "<"
body: <p>I have again a problem and at the moment XML isn't nice to me...
  Why I'm getting this error message and how can I solve it?</p>
  
  <p>I get the error message by every XML file!</p>
  
  <p>Error Message:</p>
  
  <pre><code>PHP Warning:  DOMDocument::loadXML(): Start tag expected, '&lt;' not found in Entity, line: 1 in C:\Users\Jan\PhpstormProjects\censored\Matcher.php on line 36
  Warning: DOMDocument::loadXML(): Start tag expected, '&lt;' not found in Entity, line: 1 in C:\Users\Jan\PhpstormProjects\censored\Matcher.php on line 36
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>function loadTitlesIntoArray($tagName, $path){
  
  $dom = new DOMDocument('1.0', 'utf-8');
  $dom-&gt;preserveWhiteSpace = false;
  $dom-&gt;formatOutput = true;
  $dom-&gt;loadXML($path);
  
  $titels = array();
  $marker = $dom-&gt;getElementsByTagName($tagName);
  
  for ($i = $marker-&gt;length - 1; $i &gt;= 0; $i--) {
      $new = $marker-&gt;item($i)-&gt;textContent;
      array_push($titels, $new);
  }
  
  print_r($titels);
  }
  </code></pre>
  
  <p>loadTitlesIntoArray('title', $kinguinPath);</p>
  
  <p>XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;rss&gt;
    &lt;channel xmlns:g="http://base.google.com/ns/1.0" version="2.0"&gt;
      &lt;title&gt;&lt;![CDATA[google_EUR_english_1]]&gt;&lt;/title&gt;
      &lt;link&gt;&lt;![CDATA[http://cdn.kinguin.net/media/feedexport/google_EUR_english_1.xml]]&gt;&lt;/link&gt;
      &lt;item&gt;
        &lt;title&gt;&lt;![CDATA[Anno 2070 Uplay CD Key]]&gt;&lt;/title&gt;
        &lt;link&gt;&lt;![CDATA[http://www.kinguin.net/category/4/anno-2070/?nosalesbooster=1&amp;country_store=1&amp;currency=EUR]]&gt;&lt;/link&gt;
        &lt;g:price&gt;&lt;![CDATA[3.27 EUR]]&gt;&lt;/g:price&gt;
        &lt;g:image_link&gt;&lt;![CDATA[http://cdn.kinguin.net/media/catalog/category/anno_8.jpg]]&gt;&lt;/g:image_link&gt;
      &lt;/item&gt;
      &lt;item&gt;
        &lt;title&gt;&lt;![CDATA[Anno 2070: Deep Ocean DLC Uplay CD Key]]&gt;&lt;/title&gt;
        &lt;link&gt;&lt;![CDATA[http://www.kinguin.net/category/5/anno-2070-deep-ocean-expansion-pack-dlc/?nosalesbooster=1&amp;country_store=1&amp;currency=EUR]]&gt;&lt;/link&gt;
        &lt;g:price&gt;&lt;![CDATA[4.74 EUR]]&gt;&lt;/g:price&gt;
        &lt;g:image_link&gt;&lt;![CDATA[http://cdn.kinguin.net/media/catalog/category/anno-2070-deep-ocean-releasing-this-spring-1089268_1.jpg]]&gt;&lt;/g:image_link&gt;
      &lt;/item&gt;
    &lt;/channel&gt;
  &lt;/rss&gt;
  </code></pre>
  
  <p>Greetings and Thank You!</p>