]> granicus.if.org Git - php/commitdiff
SystemID and publicID params reversed in declaration handlers
authorRob Richards <rrichards@php.net>
Sun, 31 Jul 2005 17:14:13 +0000 (17:14 +0000)
committerRob Richards <rrichards@php.net>
Sun, 31 Jul 2005 17:14:13 +0000 (17:14 +0000)
ext/xml/compat.c

index 610363aa36d59d6b39c527c161fa79051dcf0945..cda7a62e1c45df24b0afe16601f8d233cd43786f 100644 (file)
@@ -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;