diff --git a/stable/linux-dmabuf/linux-dmabuf-v1.xml b/stable/linux-dmabuf/linux-dmabuf-v1.xml
index 38e06f5b6e3f975a9a58f1488400fce712955063..33ad9a945ea859491aa9ca3d1a4e0338ad76bcc5 100644
--- a/stable/linux-dmabuf/linux-dmabuf-v1.xml
+++ b/stable/linux-dmabuf/linux-dmabuf-v1.xml
@@ -378,7 +378,7 @@
             of planes and the format, bad format, non-positive width or
             height, or bad offset or stride.
           - INVALID_WL_BUFFER, in case the cause for failure is unknown or
-            plaform specific.
+            platform specific.
         - the server creates an invalid wl_buffer, marks it as failed and
           sends a 'failed' event to the client. The result of using this
           invalid wl_buffer as an argument in any request by the client is
diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml
index 9ef284e5e2ca750965e17f1925ca5085a010a677..9201f344cff42395c5e432e1c637f8eb76ace163 100644
--- a/stable/xdg-shell/xdg-shell.xml
+++ b/stable/xdg-shell/xdg-shell.xml
@@ -635,7 +635,7 @@
       attributes (e.g. title, state, stacking, ...) are discarded for
       an xdg_toplevel surface when it is unmapped. The xdg_toplevel returns to
       the state it had right after xdg_surface.get_toplevel. The client
-      can re-map the toplevel by perfoming a commit without any buffer
+      can re-map the toplevel by performing a commit without any buffer
       attached, waiting for a configure event and handling it as usual (see
       xdg_surface description).
 
diff --git a/staging/drm-lease/drm-lease-v1.xml b/staging/drm-lease/drm-lease-v1.xml
index c90f6ea76550f7bbf592dd3526a2061683f234b1..7d60804d5ac1eadf5ec4b616b4aca9600371344e 100644
--- a/staging/drm-lease/drm-lease-v1.xml
+++ b/staging/drm-lease/drm-lease-v1.xml
@@ -245,7 +245,7 @@
       <description summary="submit the lease request">
         Submits the lease request and creates a new wp_drm_lease_v1 object.
         After calling submit the compositor will immediately destroy this
-        object, issuing any more requests will cause a wl_diplay error.
+        object, issuing any more requests will cause a wl_display error.
         The compositor doesn't make any guarantees about the events of the
         lease object, clients cannot expect an immediate response.
         Not requesting any connectors before submitting the lease request
diff --git a/tests/replace.py b/tests/replace.py
index 0ab7dfdada9690cbc9f20097b690e9301041f21e..6ba2c2fc18d2797f8bc4970b89ec908b116c2da9 100755
--- a/tests/replace.py
+++ b/tests/replace.py
@@ -4,10 +4,10 @@ import sys
 
 execpath, inpath, outpath, *dict_list = sys.argv
 
-dictonary = {}
+dictionary = {}
 while dict_list:
     key, value, *rest = dict_list
-    dictonary[key] = value
+    dictionary[key] = value
     dict_list = rest
 
 infile = open(inpath, 'r')
@@ -16,7 +16,7 @@ outfile = open(outpath, 'w')
 buf = infile.read()
 infile.close()
 
-for key, value in dictonary.items():
+for key, value in dictionary.items():
     buf = buf.replace('@{}@'.format(key), value)
 
 outfile.write(buf)
diff --git a/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml b/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
index 9787ad3d6bcf60f967c8cf2cd8ea29787a61a63d..6f11e925b68e0b48899a1f15733685732fca2725 100644
--- a/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
+++ b/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
@@ -382,7 +382,7 @@
             of planes and the format, bad format, non-positive width or
             height, or bad offset or stride.
           - INVALID_WL_BUFFER, in case the cause for failure is unknown or
-            plaform specific.
+            platform specific.
         - the server creates an invalid wl_buffer, marks it as failed and
           sends a 'failed' event to the client. The result of using this
           invalid wl_buffer as an argument in any request by the client is