summaryrefslogtreecommitdiffstats
path: root/src/xml/sax/qxml.cpp
diff options
context:
space:
mode:
authorSami Lempinen <sami.lempinen@nokia.com>2011-08-25 06:56:43 (GMT)
committerSami Lempinen <sami.lempinen@nokia.com>2011-08-25 06:56:43 (GMT)
commit5eb269694351a3fae2cf2cffa86b6f93cc86963e (patch)
treee1d6849c11e7bc47cd94dcc56f0d7445de0efdb0 /src/xml/sax/qxml.cpp
parent34e91e84579b0685d666b0fa99b2172bf2a07d3a (diff)
parent2485dea76dc36acb8fa9a5506ee66971ed89ff10 (diff)
downloadQt-5eb269694351a3fae2cf2cffa86b6f93cc86963e.zip
Qt-5eb269694351a3fae2cf2cffa86b6f93cc86963e.tar.gz
Qt-5eb269694351a3fae2cf2cffa86b6f93cc86963e.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-symbian-team
Diffstat (limited to 'src/xml/sax/qxml.cpp')
-rw-r--r--src/xml/sax/qxml.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xml/sax/qxml.cpp b/src/xml/sax/qxml.cpp
index 2f5384b..0c7f2ab 100644
--- a/src/xml/sax/qxml.cpp
+++ b/src/xml/sax/qxml.cpp
@@ -7748,7 +7748,13 @@ bool QXmlSimpleReaderPrivate::processReference()
return false;
}
if (ret) {
- QString xmlRefString = ret->data();
+ QString xmlRefString;
+ QString buffer = ret->data();
+ while (buffer.length()>0){
+ xmlRefString += buffer;
+ ret->fetchData();
+ buffer = ret->data();
+ }
delete ret;
if (!stripTextDecl(xmlRefString)) {
reportParseError(QLatin1String(XMLERR_ERRORINTEXTDECL));