Determine xml type using the QXmlstreamreader, removed the XmlHandler.