Remove a misleading sentence from QDomDocument::setContent() doc

QXmlReader has been replaced by QXmlStreamReader and, either way,
there is currently no way to over-ride the purging of space-only
nodes.

Task-number: QTBUG-103753
Change-Id: I7bae72d81f1b2503f93c691081137b4f60eeadda
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
(cherry picked from commit 80f8e380db8c2e9b64409eb319c96a0c2c84c886)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Edward Welbourne 2022-05-23 14:08:17 +02:00 committed by Qt Cherry-pick Bot
parent ef75047a63
commit 18e83ffe84

View File

@ -6117,9 +6117,7 @@ bool QDomDocument::setContent(const QString& text, bool namespaceProcessing, QSt
empty string if the element or attribute has no prefix. empty string if the element or attribute has no prefix.
Text nodes consisting only of whitespace are stripped and won't Text nodes consisting only of whitespace are stripped and won't
appear in the QDomDocument. If this behavior is not desired, appear in the QDomDocument.
one can use the setContent() overload that allows a QXmlReader to be
supplied.
If \a namespaceProcessing is false, the functions If \a namespaceProcessing is false, the functions
QDomNode::prefix(), QDomNode::localName() and QDomNode::prefix(), QDomNode::localName() and