Hi Matthias

It will be a reasonably big undertaking to migrate any occurrence of
QDomDocument etc. to QXMLStreamWriter and QXMLStreamReader


From a quick look, it seems QXMLStreamReader is more like a SAX parser. If so, it is not a full replacement for the DOM classes.

Regards,
Marco

On 03.12.2014 16:12, Matthias Kuhn wrote:
Hi,

As of Qt5, QtXml is no longer actively maintained [1]
PyQt5 does not even support it.

It will be a reasonably big undertaking to migrate any occurrence of
QDomDocument etc. to QXMLStreamWriter and QXMLStreamReader (our whole
project saving and loading engine is based on this). And when we do this
we will likely have to increase the major version number of QGIS.

In order not to introduce more work, please consider using
QXMLStreamWriter and QXMLStreamReader for new code you write that
involves parsing or producing XML. That does not concern working on code
that is based on code that is currently based on QtXml methods.

Thank you,
Matthias

[1] http://qt-project.org/doc/qt-5/qtxml-module.html#details

_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to