diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-12 15:26:23 +1000 |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-12 15:26:23 +1000 |
commit | 168ebe84e7b7234a4f51e7b3b6ac4f14b6766c20 (patch) | |
tree | 8428f893886a05ef2d12d73d8e0aba57b902a96a /tests/auto/qxmlschemavalidator | |
parent | 812b3940012f3c04fb79b8fa8c4ac64ff8051dd4 (diff) | |
download | qt4-tools-168ebe84e7b7234a4f51e7b3b6ac4f14b6766c20.tar.gz |
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.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp b/tests/auto/qxmlschemavalidator/tst_qxmlschemavalidator.cpp index 0f15bc8722..c1bf0f2b17 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)); |