Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.7.3
Description
If a xml file uses external entity reference to a file, the QXmlSimpleReader uses 1k buffer to read the content. This brings a sudden stop of parsing if the file size is over 1k.
The problematic code is in qxml.cpp:
if (ret) { QString xmlRefString = ret->data(); //this function returns maximum 1k data delete ret; if (!stripTextDecl(xmlRefString)) { reportParseError(QLatin1String(XMLERR_ERRORINTEXTDECL)); return false; } if (!insertXmlRef(xmlRefString, reference, false)) return false; skipIt = false;
Attachments
Issue Links
- is required for
-
QTBUG-16028 enable running of XQuery test suite
- Closed