Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.1.0
-
None
-
Tested on Windows 7 with mingw build from the standard Qt/MinGW installer.
-
75e9858a87307f61b478735f73c0a60c52c25eb8
Description
The QXmlSchemaValidator runs out of memory for rather simple xml and xsd files. This can be repeated using xmlpatternsvalidator (tested on Windows 7) using the attached files:
$./xmlpatternsvalidator.exe file:///Z:/.../test.xml file:///Z:/local/.../test.xsd ; echo $?
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
3
I reduced the files to the bare minimum required to reproduce the problem. Commenting out any entry in the xs:all list of Level3 and the validation works fine.
The is a possibly related bug QTBUG-12534, but I could not reproduce that problem any more.
Attachments
Issue Links
- is duplicated by
-
QTBUG-58691 XML Schema Validation hanging
- Reported