dmitry Tue Oct 5 11:58:28 2004 EDT
Added files: (Branch: PHP_5_0)
/php-src/ext/soap/tests/bugs bug30175.phpt bug30175.wsdl
Modified files:
/php-src NEWS
/php-src/ext/soap php_packet_soap.c
Log:
Fixed bug #30175 (SOAP results aren't parsed correctly)
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.90&r2=1.1760.2.91&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.90 php-src/NEWS:1.1760.2.91
--- php-src/NEWS:1.1760.2.90 Mon Oct 4 16:43:21 2004
+++ php-src/NEWS Tue Oct 5 11:58:27 2004
@@ -8,6 +8,7 @@
- Fixed bug #30276 (Possible crash in ctype_digit on large numbers). (Ilia)
- Fixed bug #30224 (Sybase date strings are sometimes not null terminated).
(Ilia)
+- Fixed bug #30175 (SOAP results aren't parsed correctly). (Dmitry)
- Fixed bug #30147 (OO sqlite_fetch_object did not reset error handler). (Wez)
- Fixed bug #30133 (get_current_user() crashes on Windows). (Edin)
- Fixed bug #30057 (did not detect IPV6 on FreeBSD 4.1). (Wez)
http://cvs.php.net/diff.php/php-src/ext/soap/php_packet_soap.c?r1=1.36.2.2&r2=1.36.2.3&ty=u
Index: php-src/ext/soap/php_packet_soap.c
diff -u php-src/ext/soap/php_packet_soap.c:1.36.2.2
php-src/ext/soap/php_packet_soap.c:1.36.2.3
--- php-src/ext/soap/php_packet_soap.c:1.36.2.2 Fri Aug 27 03:06:05 2004
+++ php-src/ext/soap/php_packet_soap.c Tue Oct 5 11:58:28 2004
@@ -17,7 +17,7 @@
| Dmitry Stogov <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_packet_soap.c,v 1.36.2.2 2004/08/27 07:06:05 dmitry Exp $ */
+/* $Id: php_packet_soap.c,v 1.36.2.3 2004/10/05 15:58:28 dmitry Exp $ */
#include "php_soap.h"
@@ -270,6 +270,9 @@
if (!cur) {
cur = get_node(resp, name);
/* TODO: produce warning invalid ns */
+ }
+ if (!cur && fnb->style == SOAP_RPC) {
+ cur = resp;
}
if (cur) {
if (fnb->style == SOAP_DOCUMENT) {
http://cvs.php.net/co.php/php-src/ext/soap/tests/bugs/bug30175.phpt?r=1.1&p=1
Index: php-src/ext/soap/tests/bugs/bug30175.phpt
+++ php-src/ext/soap/tests/bugs/bug30175.phpt
http://cvs.php.net/co.php/php-src/ext/soap/tests/bugs/bug30175.wsdl?r=1.1&p=1
Index: php-src/ext/soap/tests/bugs/bug30175.wsdl
+++ php-src/ext/soap/tests/bugs/bug30175.wsdl
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php