diff --git a/examples/xmlpatterns/filetree/doc/src/filetree.qdoc b/examples/xmlpatterns/filetree/doc/src/filetree.qdoc
index b1204b6d969ad66597e085e33e1cddea4281d4c4..1093d5697fe41346a433dbc1322dee2718fb2426 100644
--- a/examples/xmlpatterns/filetree/doc/src/filetree.qdoc
+++ b/examples/xmlpatterns/filetree/doc/src/filetree.qdoc
@@ -44,7 +44,7 @@
 
   \image filetree_1-example.png
 
-  \section2 The User Inteface
+  \section2 The User Interface
 
   The example is shown below. First, we use \c{File->Open Directory}
   (not shown) to select the \c{/filetree} directory. Then we use the
diff --git a/examples/xmlpatterns/schema/doc/src/schema.qdoc b/examples/xmlpatterns/schema/doc/src/schema.qdoc
index 1bcfc8a4257fed7ebc49e8e71ed47c1af96339e5..b628bca1817fc3299d84687fa710b5371e845760 100644
--- a/examples/xmlpatterns/schema/doc/src/schema.qdoc
+++ b/examples/xmlpatterns/schema/doc/src/schema.qdoc
@@ -114,7 +114,7 @@
 
   After the \l{QXmlSchema} {QXmlSchema} is instanciated and the message handler set
   on it, the \l{QXmlSchema::load()} {load()} method is called with the schema data as argument.
-  If the schema is invalid or a parsing error has occured, \l{QXmlSchema::isValid()} {isValid()}
+  If the schema is invalid or a parsing error has occurred, \l{QXmlSchema::isValid()} {isValid()}
   returns \c{false} and the error is flagged in \c{errorOccurred}.
   If the loading was successful, a \l{QXmlSchemaValidator} {QXmlSchemaValidator} is
   instanciated and the schema passed in the constructor.
diff --git a/tests/auto/xmlpatternssdk/TestSuiteHandler.cpp b/tests/auto/xmlpatternssdk/TestSuiteHandler.cpp
index 3a44b8b32ce4fff949f2e9ea0b600c250c315a4f..3f9f66d31009a8c93aab71af6ac65879424f7482 100644
--- a/tests/auto/xmlpatternssdk/TestSuiteHandler.cpp
+++ b/tests/auto/xmlpatternssdk/TestSuiteHandler.cpp
@@ -273,7 +273,7 @@ bool TestSuiteHandler::endElement(const QString &namespaceURI,
     else if(localName == QLatin1String("title"))
     {
         /* A bit dangerous, the only element with name title in the vocabulary
-         * is the the child of GroupInfo */
+         * is the child of GroupInfo */
         m_container->setTitle(m_ch.simplified());
     }
     else if(localName == QLatin1String("test-group"))
diff --git a/tests/auto/xmlpatternssdk/XMLWriter.cpp b/tests/auto/xmlpatternssdk/XMLWriter.cpp
index 9b376147fa993c46c49916a481f9265208f7d171..d98010c73601b8ceb08bc369c3fb4cf1163d2aa5 100644
--- a/tests/auto/xmlpatternssdk/XMLWriter.cpp
+++ b/tests/auto/xmlpatternssdk/XMLWriter.cpp
@@ -60,7 +60,7 @@
 
 /* Design rationalis, comments:
  *
- * - The class is called XMLWriter to harvest familarity by being consistent with
+ * - The class is called XMLWriter to harvest familiarity by being consistent with
  *   Java's XMLWriter class. If XMLWriter is moved to Qt, the name QXmlWriter is perhaps suitable.
  * - The class does not handle indentation because the "do one thing well"-principle is
  *   in use. XMLWriter should be fast and not assume a certain idea of indentation. Indentation