diff options
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 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)); |