diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-10-25 12:05:27 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-11-26 09:07:26 +0100 |
commit | ccc2133c648ca531630095f3f1016e2026d7e34e (patch) | |
tree | 22ed29871c17b8a87048249e92c399f8b01546cc /src/xml/dom/qdom_p.h | |
parent | f0443984b84dea782ccd06dbce59808d55b15dbe (diff) |
Port QDomDocument to QXmlStreamReader
Reimplement QDomDocument using QXmlStreamReader and switch to the new
implementation starting from Qt 6.
The changes in the behavior are reflected in tests: some test cases
which were marked as "expected to fail" are now passing.
Task-number: QTBUG-76178
Change-Id: I5ace2f13c036a9a778de922b47a1ce35957ce5f6
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/xml/dom/qdom_p.h')
-rw-r--r-- | src/xml/dom/qdom_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xml/dom/qdom_p.h b/src/xml/dom/qdom_p.h index 06ed0d5f0e..d197e999f1 100644 --- a/src/xml/dom/qdom_p.h +++ b/src/xml/dom/qdom_p.h @@ -465,6 +465,8 @@ public: int *errorLine, int *errorColumn); bool setContent(QXmlInputSource *source, QXmlReader *reader, QXmlSimpleReader *simpleReader, QString *errorMsg, int *errorLine, int *errorColumn); + bool setContent(QXmlStreamReader *reader, bool namespaceProcessing, QString *errorMsg, + int *errorLine, int *errorColumn); // Attributes QDomDocumentTypePrivate *doctype() { return type.data(); } |