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

Writing the same data twice into a XML file results in two different XML files (attribute ordering differs)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.0.0
    • XML: DOM
    • None
    • Windows 7
      Visual c++ 2012

    Description

      When using QDomDocument to save our project data as XML, saving the very same project two times results in two different XML files. The two files differ in the ordering of their attributes. This is problematic as these files cannot be diffed, merged, etc. anymore. I didn't observe this behaviour in Qt 4.8. This bug report is not about the arbitrary ordering of XML attributes, but that the ordering of attributes changes eventhough no new attributes were added.

      Attachments

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

        Activity

          People

            smd Jan Arve
            geidav David Geier
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes