Entities like are invalid XML what leads
to QXmlStreamReader::hasError==true what aborts
parsing. Add a custom QXmlStreamEntityResolver
to just skip over such undeclared entities and
replace them with a whitespace. Thats enough
because we are only interested in keeping the
QXmlStreamReader parsing till we reached that
error-message we are supposed to extract.
Entities like are invalid XML what leads to QXmlStreamReader::hasError==true what aborts parsing. Add a custom QXmlStreamEntityResolver to just skip over such undeclared entities and replace them with a whitespace. Thats enough because we are only interested in keeping the QXmlStreamReader parsing till we reached that error-message we are supposed to extract.