From df204254639bd0f2d2bd7a700986756b3d14f83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Sat, 19 Feb 2022 10:40:46 +0100 Subject: [PATCH] #3518: Expat version check in #defines incorrect --- XML/src/ParserEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XML/src/ParserEngine.cpp b/XML/src/ParserEngine.cpp index d3ddd2408..60cd120d3 100644 --- a/XML/src/ParserEngine.cpp +++ b/XML/src/ParserEngine.cpp @@ -604,7 +604,7 @@ void ParserEngine::handleError(int errorNo) throw SAXParseException("Reserved prefix 'xmlns' must not be declared or undeclared", locator()); case XML_ERROR_RESERVED_NAMESPACE_URI: throw SAXParseException("Prefix must not be bound to one of the reserved namespace names", locator()); - #if XML_MAJOR_VERSION > 2 || XML_MINOR_VERSION >= 1 + #if XML_MAJOR_VERSION > 2 || (XML_MINOR_VERSION >= 2 && XML_MICRO_VERSION >= 1) case XML_ERROR_INVALID_ARGUMENT: throw SAXParseException("Invalid argument", locator()); #endif