title: Can't open xml file using tinyxml2
body: <p>I've looked through dozens of posts about this and none of them  fixed my problem.
  I have this xml file.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;scene&gt;
   &lt;file&gt;sphere.d3&lt;file/&gt;
  &lt;/scene&gt;
  </code></pre>
  
  <p>I have this very simple function that for now simply open the file</p>
  
  <pre><code>string* loadXML(string file){
  
      XMLDocument xml_doc;
      xml_doc.LoadFile("/home/pedro/Documents/CG/TP/scene.xml");
    if(xml_doc.ErrorID() != 0) {
          cout &lt;&lt; xml_doc.ErrorName();
        return nullptr;
        }
  
      return nullptr;
  
  }
  </code></pre>
  
  <p>However, it spits out</p>
  
  <pre><code>XML_ERROR_MISMATCHED_ELEMENT
  </code></pre>
  
  <p>No idea whatsoever why, the file is so simple.
  Any help is appreciated, thank you</p>