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 Pick-to: 6.4 6.3 6.2 Change-Id: I7bae72d81f1b2503f93c691081137b4f60eeadda Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
This commit is contained in:
parent
cfcbf38f76
commit
80f8e380db
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user