mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02: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());
|
throw SAXParseException("Reserved prefix 'xmlns' must not be declared or undeclared", locator());
|
||||||
case XML_ERROR_RESERVED_NAMESPACE_URI:
|
case XML_ERROR_RESERVED_NAMESPACE_URI:
|
||||||
throw SAXParseException("Prefix must not be bound to one of the reserved namespace names", locator());
|
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:
|
case XML_ERROR_INVALID_ARGUMENT:
|
||||||
throw SAXParseException("Invalid argument", locator());
|
throw SAXParseException("Invalid argument", locator());
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user