mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-29 21:22:11 +01:00
#3518: Expat version check in #defines incorrect
This commit is contained in:
parent
010cf8b7d0
commit
df20425463
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user