title: QXmlStreamReader::isEndElement() returning false
body: <p>Why is <a href="http://doc.qt.io/qt-4.8/qxmlstreamreader.html#isEndElement" rel="nofollow">QXmlStreamReader::isEndElement()</a> returning false when it encounters something like <code>&lt;element/&gt;</code> and how can I recognize an <code>&lt;element/&gt;</code>?</p>