Hi how namespace parsing should handle when QXmlStreamReader is used ? Or should i use different approach?

m_xml.setNamespaceProcessing (true);
m_xml.readNext();

if (m_xml.isStartElement()) {
if (m_xml.name() == "item") {
qDebug() << m_xml.attributes().value("atom:link").toString();
parseItemElement();
} else if (m_xml.name() == "image") {
parseImageElement ();
} else {
qDebug() << m_xml.name() << m_xml.text() << m_xml.isEntityReference();
m_xml.readNext();
}
} else


Namespace attributes like atom:link doesnt get catched, atom:link, only link will fetch.