summaryrefslogtreecommitdiff
path: root/ext/xml/compat.c
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2005-07-31 17:14:13 +0000
committerRob Richards <rrichards@php.net>2005-07-31 17:14:13 +0000
commit0cbcd08e7c0b9f2e7ad10628db2ed3d720c4b796 (patch)
tree8d965178c150d0e55792fe3e04a7ac037a46a7ea /ext/xml/compat.c
parentf6ec1b481e14095dd0907fa5fc6073c8345e62c9 (diff)
downloadphp-git-0cbcd08e7c0b9f2e7ad10628db2ed3d720c4b796.tar.gz
SystemID and publicID params reversed in declaration handlers
Diffstat (limited to 'ext/xml/compat.c')
-rw-r--r--ext/xml/compat.c4
1 files 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;