summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlschemavalidator
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2009-08-12 05:26:23 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-08-12 05:26:23 (GMT)
commit168ebe84e7b7234a4f51e7b3b6ac4f14b6766c20 (patch)
tree8428f893886a05ef2d12d73d8e0aba57b902a96a /tests/auto/qxmlschemavalidator
parent812b3940012f3c04fb79b8fa8c4ac64ff8051dd4 (diff)
downloadQt-168ebe84e7b7234a4f51e7b3b6ac4f14b6766c20.zip
Qt-168ebe84e7b7234a4f51e7b3b6ac4f14b6766c20.tar.gz
Qt-168ebe84e7b7234a4f51e7b3b6ac4f14b6766c20.tar.bz2
Update URL's to use new domain.
Reviewed-by: Trust Me
Diffstat (limited to 'tests/auto/qxmlschemavalidator')
-rw-r--r--tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp b/tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp
index 0f15bc8..c1bf0f2 100644
--- a/tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp
+++ b/tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp
@@ -62,14 +62,14 @@ static QXmlSchema createValidSchema()
const QByteArray data( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<xsd:schema"
" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\""
- " xmlns=\"http://www.qtsoftware.com/xmlschematest\""
- " targetNamespace=\"http://www.qtsoftware.com/xmlschematest\""
+ " xmlns=\"http://qt.nokia.com/xmlschematest\""
+ " targetNamespace=\"http://qt.nokia.com/xmlschematest\""
" version=\"1.0\""
" elementFormDefault=\"qualified\">"
" <xsd:element name=\"myRoot\" type=\"xsd:string\"/>"
"</xsd:schema>" );
- const QUrl documentUri("http://www.qtsoftware.com/xmlschematest");
+ const QUrl documentUri("http://qt.nokia.com/xmlschematest");
QXmlSchema schema;
schema.load(data, documentUri);
@@ -206,7 +206,7 @@ void tst_QXmlSchemaValidator::loadInstanceDeviceSuccess() const
{
const QXmlSchema schema(createValidSchema());
- QByteArray data( "<myRoot xmlns=\"http://www.qtsoftware.com/xmlschematest\">Testme</myRoot>" );
+ QByteArray data( "<myRoot xmlns=\"http://qt.nokia.com/xmlschematest\">Testme</myRoot>" );
QBuffer buffer(&data);
buffer.open(QIODevice::ReadOnly);
@@ -218,7 +218,7 @@ void tst_QXmlSchemaValidator::loadInstanceDeviceFail() const
{
const QXmlSchema schema(createValidSchema());
- QByteArray data( "<myRoot xmlns=\"http://www.qtsoftware.com/xmlschematest\">Testme</myRoot>" );
+ QByteArray data( "<myRoot xmlns=\"http://qt.nokia.com/xmlschematest\">Testme</myRoot>" );
QBuffer buffer(&data);
// a closed device can not be loaded
@@ -230,7 +230,7 @@ void tst_QXmlSchemaValidator::loadInstanceDataSuccess() const
{
const QXmlSchema schema(createValidSchema());
- const QByteArray data( "<myRoot xmlns=\"http://www.qtsoftware.com/xmlschematest\">Testme</myRoot>" );
+ const QByteArray data( "<myRoot xmlns=\"http://qt.nokia.com/xmlschematest\">Testme</myRoot>" );
QXmlSchemaValidator validator(schema);
QVERIFY(validator.validate(data));