cvs: php-src /ext/xml compat.c
| From: | Rob Richards | Date: | Sun, 31 Jul 2005 17:14:14 +0000 |
| Subject: | cvs: php-src /ext/xml compat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33132@lists.php.net to get a copy of this message | ||
rrichards Sun Jul 31 13:14:14 2005 EDT
Modified files:
/php-src/ext/xml compat.c
Log:
SystemID and publicID params reversed in declaration handlers
http://cvs.php.net/diff.php/php-src/ext/xml/compat.c?r1=1.42&r2=1.43&ty=u
Index: php-src/ext/xml/compat.c
diff -u php-src/ext/xml/compat.c:1.42 php-src/ext/xml/compat.c:1.43
--- php-src/ext/xml/compat.c:1.42 Fri Mar 25 22:13:57 2005
+++ php-src/ext/xml/compat.c Sun Jul 31 13:14:13 2005
@@ -191,8 +191,8 @@
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 @@
}
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;