QXmlQuery requires proper URIs/URLs and these two aren't valid. A scheme
is never empty and a path cannot contain a colon before the first slash.
QUrl has been pointing out that new error condition since
7d62f8ace542e04e3ddf92eec4fdad8d34ac9585
Change-Id: Ic206908345f45b1cce0a3733584a65b02b8c2791
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
<< QUrl(QLatin1String("qrc:/QXmlQueryTestData/notWellformed.xml"));
QTest::newRow("'qrc:/', non-existing file")
- << QUrl(QLatin1String(":/QXmlQueryTestData/data/thisFileDoesNotExist.xml"));
-
- QTest::newRow("':/', this scheme is not supported")
- << QUrl(QLatin1String(":/QXmlQueryTestData/data/notWellformed.xml"));
+ << QUrl(QLatin1String("qrc:/QXmlQueryTestData/data/thisFileDoesNotExist.xml"));
if(!m_testNetwork)
return;