Marc Liyanage pointed out that xmlCleanupParser() was missing * parser.c: Marc Liyanage pointed out that xmlCleanupParser() was missing xmlCleanupInputCallbacks and xmlCleanupOutputCallbacks calls. Daniel