[Interest] QtXml deprecated, should I rewrite code that uses QDomDocument?
Guido Seifert
wargand at gmx.de
Fri Aug 9 20:08:26 CEST 2013
> I moved from using libxml2 to QtXML because of the simplicity of using the
> QDomDocument classes and never noticed any issues (doing DOM parsing in both cases)...
Most likely this is the main reason why it isn't maintained anymore: It just works. Nothing to maintain. And nobody said, it will be removed soon.
> I'm not sure it would be a trivial thing to update from the QDomDocument support
> to QXmlStream* usage either.
If you ask me: Impossible. Totally different use case.
But I must say, the one who wrote in the docs:
>> The module is not actively maintained anymore. Please use the QXmlStreamReader and >> QXmlStreamWriter classes in Qt Core instead.
should be forced to write a few examples which show how he adds and removes a node in a complex xml tree, adds/changes some data, adds/changes an attribute. Until I see this: Rubbish.
Guido
More information about the Interest
mailing list