When i parse an XML document using the QXmlStreamReader class, i am presented with an error if i call "readElementText()" on an empty element and my parsing is interrupted. The error is:
Apparently, this is expected behavior.Expected character data.
So how can i know whether an element is empty or not?
Bookmarks