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

QXmlStreamWriter writes newline at beginning of stream if auto formatting is enabled.

XMLWordPrintable

    • 8
    • c3295bd59 (dev), 25e94ec4b (6.9), 6d282bd65 (6.8)
    • Foundation PM Prioritized

      If auto formatting is enabled and writeStartDocument() is not used, QXmlStreamWriter writes a newline before the processing instruction to the output stream. See the attached code for demonstration.

        1. main.cpp
          0.5 kB
        2. test.py
          0.7 kB
        For Gerrit Dashboard: QTBUG-28721
        # Subject Branch Project Status CR V

            magdalenas Magdalena Stojek
            stebol Stefan Bolus
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes