Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.0 Beta2
-
21
-
11f14c3b0 (dev), 032709a94 (6.5), e2b36e666 (tqtc/lts-6.2)
-
Foundations Sprint 80
Description
Attached example includes standalone="no" in Qt 5 in the output, but not in Qt 6. The reason seems to be:
in qtbase/src/xml/dom/qdomhelpers.cpp:
if (reader->isStandaloneDocument()) { value += QLatin1String(" standalone='yes'"); } else { // TODO: Add standalone='no', if 'standalone' is specified. With the current // QXmlStreamReader there is no way to figure out if it was specified or not. // QXmlStreamReader needs to be modified for handling that case correctly. }