summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2018-02-13 16:02:57 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2018-02-14 07:17:37 +0000
commit6946807b6c223908fcc55a76803aa4e8cfbddc55 (patch)
treeb7a6eb7447f7381fc0abe2c8a1fa8ab1f682ec8a
parentf64cfa1a8ad6ee6638035b251f7443b98a5f730f (diff)
downloadqtxmlpatterns-6946807b6c223908fcc55a76803aa4e8cfbddc55.tar.gz
Fix typos
Change-Id: I29f89ddf8e2ff9ef47a6f27897e458d042293979 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
-rw-r--r--src/xmlpatterns/schema/qxsdschemaparser.cpp2
-rw-r--r--src/xmlpatterns/schema/qxsdvalidatinginstancereader_p.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/xmlpatterns/schema/qxsdschemaparser.cpp b/src/xmlpatterns/schema/qxsdschemaparser.cpp
index b1af3b1..8bbda27 100644
--- a/src/xmlpatterns/schema/qxsdschemaparser.cpp
+++ b/src/xmlpatterns/schema/qxsdschemaparser.cpp
@@ -70,7 +70,7 @@ QT_BEGIN_NAMESPACE
* a so called (incomplete) 'compiled schema', which is a representation of the XML Schema
* structure as C++ objects.
* As the parser is a streaming parser, it can't resolve references to types or elements/attributes
- * in place, therefor it creates resolver tasks which are passed to the schema resolver component
+ * in place, therefore it creates resolver tasks which are passed to the schema resolver component
* for resolving at a later point in time.
* The parser does furthermore the basic XML structure constraint checking, e.g. if all required
* attributes are available or the order of the elements is correct.</dd>
diff --git a/src/xmlpatterns/schema/qxsdvalidatinginstancereader_p.h b/src/xmlpatterns/schema/qxsdvalidatinginstancereader_p.h
index ab0fa1e..119df13 100644
--- a/src/xmlpatterns/schema/qxsdvalidatinginstancereader_p.h
+++ b/src/xmlpatterns/schema/qxsdvalidatinginstancereader_p.h
@@ -118,7 +118,7 @@ namespace QPatternist
* Validates the current element tag of the instance document.
*
* @param hasStateMachine Used to remember whether this element represents the start tag
- * of a complex type and therefor pushes a new state machine on the stack.
+ * of a complex type and therefore pushes a new state machine on the stack.
* @param element Used to remember which element has been validated in this step.
*/
bool validate(bool &hasStateMachine, XsdElement::Ptr &element);
@@ -128,7 +128,7 @@ namespace QPatternist
*
* @param declaration The element declaration to validate against.
* @param hasStateMachine Used to remember whether this element represents the start tag
- * of a complex type and therefor pushes a new state machine on the stack.
+ * of a complex type and therefore pushes a new state machine on the stack.
*/
bool validateElement(const XsdElement::Ptr &declaration, bool &hasStateMachine);
@@ -139,7 +139,7 @@ namespace QPatternist
* @param type The type to validate against.
* @param isNilled Defines whether the element is nilled by the instance document.
* @param hasStateMachine Used to remember whether this element represents the start tag
- * of a complex type and therefor pushes a new state machine on the stack.
+ * of a complex type and therefore pushes a new state machine on the stack.
*
* @note The @p type can differ from the element @p declaration type if the instance document has defined
* it via xsi:type attribute.
@@ -165,7 +165,7 @@ namespace QPatternist
* @param type The type to validate against.
* @param isNilled Defines whether the element is nilled by the instance document.
* @param hasStateMachine Used to remember whether this element represents the start tag
- * of a complex type and therefor pushes a new state machine on the stack.
+ * of a complex type and therefore pushes a new state machine on the stack.
*
* @note The @p type can differ from the element @p declaration type if the instance document has defined
* it via xsi:type attribute.