summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--expat/CMakeLists.txt2
-rw-r--r--expat/lib/xmlparse.c2
-rw-r--r--expat/tests/runtests.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt
index e34044e1..9d182b30 100644
--- a/expat/CMakeLists.txt
+++ b/expat/CMakeLists.txt
@@ -422,7 +422,7 @@ if(WIN32 AND NOT MINGW)
# on Windows by resorting to filename libexpat.dll since Expat 1.95.3.
# Everything but MSVC is already adding prefix "lib", automatically.
# NOTE: "set_property(TARGET expat PROPERTY PREFIX lib)" would only affect *.dll
- # files but not *.lib files, so we have to rely on propert OUTPUT_NAME, instead.
+ # files but not *.lib files, so we have to rely on property OUTPUT_NAME, instead.
# Property CMAKE_*_POSTFIX still applies.
set_property(TARGET expat PROPERTY OUTPUT_NAME libexpat)
endif()
diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c
index b2f5fc6b..d54af683 100644
--- a/expat/lib/xmlparse.c
+++ b/expat/lib/xmlparse.c
@@ -4092,7 +4092,7 @@ initializeEncoding(XML_Parser parser) {
const char *s;
#ifdef XML_UNICODE
char encodingBuf[128];
- /* See comments abount `protoclEncodingName` in parserInit() */
+ /* See comments about `protocolEncodingName` in parserInit() */
if (! parser->m_protocolEncodingName)
s = NULL;
else {
diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c
index d2923ac1..e89e8220 100644
--- a/expat/tests/runtests.c
+++ b/expat/tests/runtests.c
@@ -11286,7 +11286,7 @@ START_TEST(test_accounting_precision) {
{"<p:e xmlns:p=\"https://domain.invalid/\" />", NULL, NULL, 0,
filled_later},
{"<e k=\"&amp;&apos;&gt;&lt;&quot;\" />", NULL, NULL,
- sizeof(XML_Char) * 5 /* number of predefined entites */, filled_later},
+ sizeof(XML_Char) * 5 /* number of predefined entities */, filled_later},
{"<e1 xmlns='https://example.org/'>\n"
" <e2 xmlns=''/>\n"
"</e1>",
@@ -11296,7 +11296,7 @@ START_TEST(test_accounting_precision) {
{"<e>text</e>", NULL, NULL, 0, filled_later},
{"<e1><e2>text1<e3/>text2</e2></e1>", NULL, NULL, 0, filled_later},
{"<e>&amp;&apos;&gt;&lt;&quot;</e>", NULL, NULL,
- sizeof(XML_Char) * 5 /* number of predefined entites */, filled_later},
+ sizeof(XML_Char) * 5 /* number of predefined entities */, filled_later},
{"<e>&#65;&#41;</e>", NULL, NULL, 0, filled_later},
/* Prolog */