qt5base-lts/tests/auto/xml/dom/qdom
Christian Ehrlicher d7cb21ac08 QDom: use QLocale::C when converting a double to a xml attribute
QDomElement::setAttribute(QString, double) did not use QString::setNum()
but qsnprintf(). This is wrong because qsnprintf() is using the current
locale instead QLocale::C. It was also inconsistent to
QDomElement::setAttributeNS() which was already using QString::setNum().

Also fix the documentation which stated that all
QDomElement::setAttribute() format the values according the current
locale.

Fixes: QTBUG-80068
Change-Id: Iabb0b39c0d0723060527542c283a5435f26f31ca
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-11-19 17:33:33 +01:00
..
testdata Fixes to the qdom autotest 2012-07-31 11:13:15 +02:00
.gitattributes Moved xml autotests into new directory structure 2011-09-06 10:31:40 +02:00
.gitignore Moved xml autotests into new directory structure 2011-09-06 10:31:40 +02:00
doubleNamespaces.xml Moved xml autotests into new directory structure 2011-09-06 10:31:40 +02:00
qdom.pro Remove Windows CE from tests (others). 2016-03-31 06:14:04 +00:00
tst_qdom.cpp QDom: use QLocale::C when converting a double to a xml attribute 2019-11-19 17:33:33 +01:00
umlaut.xml Moved xml autotests into new directory structure 2011-09-06 10:31:40 +02:00