Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.2
-
None
-
Ubuntu 10.10 and 11.04
-
f8573e689ba42ba2d5d7620b534f63af5340e034
Description
Execute the code above:
QXmlStreamReader l_reader("<?xml version=\"1.0\" encoding=\"UTF-8\"?><Configs><Info Date=\"2011-04-20T18:06:57\" Version=\"1.0.0\"/><Db Driver=\"QFIREBIRD\" HostName=\"localhost\" Port=\"3050\" Database=\"/home/alisson/proabakus/KOMPAS/spool/spoolDB.fdb\" User=\"SYSDBA\" Password=\"masterkey\"/></Configs>\n");
while (l_reader.readNextStartElement())
{ qWarning() << l_reader.name(); foreach (QXmlStreamAttribute l_att, l_reader.attributes()) qWarning() << "\t" << l_att.name() << " = " << l_att.value(); }The output is invalid, is only printed:
"Configs"
"Info"
"Date" = "2011-04-20T18:06:57"
"Version" = "1.0.0"
But the correct output is:
"Configs"
"Info"
"Date" = "2011-04-20T18:06:57"
"Version" = "1.0.0"
"Db"
"Driver"="QFIREBIRD"
"HostName"="localhost"
"Port"="3050"
"Database"="/home/alisson/proabakus/KOMPAS/spool/spoolDB.fdb"
"User"="SYSDBA"
"Password"="masterkey"