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

incorrect document about QDomDocument::setContent()

XMLWordPrintable

    • All
    • 80f8e380db8c2e9b64409eb319c96a0c2c84c886 (qtbase/dev), 18e83ffe84b62fe8a659f4885f5ca8b8b3e31f5b (qtbase/6.4), 5f692c14cdff4066f5171e862c9ae26374e40611 (qtbase/6.3)

      There is no overloaded setContent() function with QXmlReader in Qt6.3 but our document says:

       Text nodes consisting only of whitespace are stripped and won't appear in the QDomDocument. If this behavior is not desired, one can use the setContent() overload that allows a QXmlReader to be supplied.

      https://doc.qt.io/qt-6/qdomdocument.html#setContent

      If  this a documentation issue, then solution for whitespace is needed.

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

            Eddy Edward Welbourne
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: