From 6946807b6c223908fcc55a76803aa4e8cfbddc55 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Tue, 13 Feb 2018 16:02:57 +0100 Subject: Fix typos Change-Id: I29f89ddf8e2ff9ef47a6f27897e458d042293979 Reviewed-by: Leena Miettinen --- src/xmlpatterns/schema/qxsdschemaparser.cpp | 2 +- src/xmlpatterns/schema/qxsdvalidatinginstancereader_p.h | 8 ++++---- 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. 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. -- cgit v1.2.1