Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.3.0
-
-
80f8e380db8c2e9b64409eb319c96a0c2c84c886 (qtbase/dev), 18e83ffe84b62fe8a659f4885f5ca8b8b3e31f5b (qtbase/6.4), 5f692c14cdff4066f5171e862c9ae26374e40611 (qtbase/6.3)
Description
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.
Attachments
Issue Links
- relates to
-
QTBUG-104130 QDomDocument::setContent() with QXmlStreamReader discards whitespace-only Text nodes
- Closed