Make use of XML_StopParser() when XML_MAJOR_VERSION is >1, not >2. Thanks to Stefan...