- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    4.5.2, 5.4.1
- 
        3
- 
        25ad8b7a1f05f0dee8010f56f42242aa62b6f375
Run the xmlpatterns.exe utility with xsl to xml:
"memory exhausted" type error message is displayed.
This reproduces on Windows 7 and Mac(leopard).
The point in the code is here:-
QPatternist::Expression::Ptr expression(QIODevice *const queryDevice = 0) in qxmlquery_p.h is catching an exception after the call to
m_expr = m_expressionFactory->createExpression(queryDevice, staticContext(),
queryLanguage,
requiredType(),
queryURI,
initialTemplateName);