qt5base-lts/tests/auto/xml/dom
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
..
qdom QDom: use QLocale::C when converting a double to a xml attribute 2019-11-19 17:33:33 +01:00
dom.pro Moved xml autotests into new directory structure 2011-09-06 10:31:40 +02:00