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) { {"", NULL, NULL, 0, filled_later}, {"", NULL, NULL, - sizeof(XML_Char) * 5 /* number of predefined entites */, filled_later}, + sizeof(XML_Char) * 5 /* number of predefined entities */, filled_later}, {"\n" " \n" "", @@ -11296,7 +11296,7 @@ START_TEST(test_accounting_precision) { {"text", NULL, NULL, 0, filled_later}, {"text1text2", NULL, NULL, 0, filled_later}, {"&'><"", NULL, NULL, - sizeof(XML_Char) * 5 /* number of predefined entites */, filled_later}, + sizeof(XML_Char) * 5 /* number of predefined entities */, filled_later}, {"A)", NULL, NULL, 0, filled_later}, /* Prolog */