diff options
author | Tobias Koenig <tokoe@kde.org> | 2009-05-31 11:28:18 (GMT) |
---|---|---|
committer | Tobias Koenig <tokoe@kde.org> | 2009-05-31 11:28:18 (GMT) |
commit | 4785ed9b76104c272476f62780dde086e21b20ce (patch) | |
tree | 3bcc1a447edab3cf046a604041b7bf3e1ed386c2 /src/xmlpatterns | |
parent | b24611f14453e6b870e25bdc3edcd4f6447ae87e (diff) | |
download | Qt-4785ed9b76104c272476f62780dde086e21b20ce.zip Qt-4785ed9b76104c272476f62780dde086e21b20ce.tar.gz Qt-4785ed9b76104c272476f62780dde086e21b20ce.tar.bz2 |
Add conformance section to qtxmlpatterns doc and extended api docs
Diffstat (limited to 'src/xmlpatterns')
-rw-r--r-- | src/xmlpatterns/api/qxmlschemavalidator.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xmlpatterns/api/qxmlschemavalidator.cpp b/src/xmlpatterns/api/qxmlschemavalidator.cpp index b72b1ef..dc8e55d 100644 --- a/src/xmlpatterns/api/qxmlschemavalidator.cpp +++ b/src/xmlpatterns/api/qxmlschemavalidator.cpp @@ -69,7 +69,7 @@ /*! Constructs a schema validator. The schema used for validation must be referenced in the XML instance document - via the xsi:schemaLocation attribute. + via the \c xsi:schemaLocation or \c xsi:noNamespaceSchemaLocation attribute. */ QXmlSchemaValidator::QXmlSchemaValidator() : d(new QXmlSchemaValidatorPrivate(QXmlSchema())) @@ -78,6 +78,9 @@ QXmlSchemaValidator::QXmlSchemaValidator() /*! Constructs a schema validator that will use \a schema for validation. + If an empty \l {QXmlSchema} schema is passed to the validator, the schema used + for validation must be referenced in the XML instance document + via the \c xsi:schemaLocation or \c xsi:noNamespaceSchemaLocation attribute. */ QXmlSchemaValidator::QXmlSchemaValidator(const QXmlSchema &schema) : d(new QXmlSchemaValidatorPrivate(schema)) @@ -94,6 +97,9 @@ QXmlSchemaValidator::~QXmlSchemaValidator() /*! Sets the \a schema that shall be used for further validation. + If the schema is empty, the schema used for validation must be referenced + in the XML instance document via the \c xsi:schemaLocation or + \c xsi:noNamespaceSchemaLocation attribute. */ void QXmlSchemaValidator::setSchema(const QXmlSchema &schema) { |