Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-32926

QtXml deprecated, how to upgrade user code which uses Qt's DOM classes?

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.1.0
    • XML: DOM
    • None

    Description

      http://qt-project.org/doc/qt-5.1/qtdoc/qtmodules.html#qt-add-ons says about the Qt XML module: "Deprecated, please use QXmlStreamReader and QXmlStreamWriter for new functionality."

      Ok, but what about old user code which uses the QtXml DOM classes (QDomDocument, QDomElement, etc.)? Would you suggest replacing such code by using QXmlStreamReader and QXmlStreamWriter as well? Or would you suggest QtXml users to look for a different third party library (e.g., pugixml, recommended by Konstantin Tokarev at the mailing list [1])?

      Is the intention to eventually remove the QtXml library from the Qt framework?


      [1] "Re: [Interest] QtXml deprecated, should I rewrite code that uses QDomDocument?"
      interest.qt-project.org, Friday, 9 August 2013
      http://comments.gmane.org/gmane.comp.lib.qt.user/8046

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            niels_dekker Niels Dekker
            Votes:
            7 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes