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