From 0cbcd08e7c0b9f2e7ad10628db2ed3d720c4b796 Mon Sep 17 00:00:00 2001 From: Rob Richards Date: Sun, 31 Jul 2005 17:14:13 +0000 Subject: [PATCH] SystemID and publicID params reversed in declaration handlers --- ext/xml/compat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/xml/compat.c b/ext/xml/compat.c index 610363aa36..cda7a62e1c 100644 --- a/ext/xml/compat.c +++ b/ext/xml/compat.c @@ -191,8 +191,8 @@ _pi_handler(void *user, const xmlChar *target, const xmlChar *data) static void _unparsed_entity_decl_handler(void *user, const xmlChar *name, - const xmlChar *sys_id, const xmlChar *pub_id, + const xmlChar *sys_id, const xmlChar *notation) { XML_Parser parser = (XML_Parser) user; @@ -205,7 +205,7 @@ _unparsed_entity_decl_handler(void *user, } static void -_notation_decl_handler(void *user, const xmlChar *notation, const xmlChar *sys_id, const xmlChar *pub_id) +_notation_decl_handler(void *user, const xmlChar *notation, const xmlChar *pub_id, const xmlChar *sys_id) { XML_Parser parser = (XML_Parser) user; -- 2.50.1