cvs: php-src(PHP_5_1) / NEWS /ext/soap soap.c /ext/soap/tests/bugs bug34449.phpt

From: Date: Mon, 12 Sep 2005 08:24:02 +0000
Subject: cvs: php-src(PHP_5_1) / NEWS /ext/soap soap.c /ext/soap/tests/bugs bug34449.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33912@lists.php.net to get a copy of this message
dmitry Mon Sep 12 04:24:02 2005 EDT Added files: (Branch: PHP_5_1) /php-src/ext/soap/tests/bugs bug34449.phpt Modified files: /php-src NEWS /php-src/ext/soap soap.c Log: Fixed bug #34449 (ext/soap: XSD_ANYXML functionality not exposed) http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2027.2.55&r2=1.2027.2.56&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.55 php-src/NEWS:1.2027.2.56 --- php-src/NEWS:1.2027.2.55 Fri Sep 9 02:48:44 2005 +++ php-src/NEWS Mon Sep 12 04:23:59 2005 @@ -25,6 +25,7 @@ - Fixed "make test" to work for phpized extensions. (Hartmut, Jani) - Fixed failing queries (FALSE returned) with mysqli_query() on 64 bit systems. (Andrey) +- Fixed bug #34449 (ext/soap: XSD_ANYXML functionality not exposed). (Dmitry) - Fixed bug #34420 (Possible crash inside curl_multi_remove_handle()). (Ilia) - Fixed bug #34331 (php crashes when variables_order is empty). (Ilia) - Fixed bug #34311 (unserialize() crashes with chars above 191 dec). (Nuno) http://cvs.php.net/diff.php/php-src/ext/soap/soap.c?r1=1.156.2.2&r2=1.156.2.3&ty=u Index: php-src/ext/soap/soap.c diff -u php-src/ext/soap/soap.c:1.156.2.2 php-src/ext/soap/soap.c:1.156.2.3 --- php-src/ext/soap/soap.c:1.156.2.2 Wed Aug 17 13:03:52 2005 +++ php-src/ext/soap/soap.c Mon Sep 12 04:24:00 2005 @@ -17,7 +17,7 @@ | Dmitry Stogov <dmitry@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: soap.c,v 1.156.2.2 2005/08/17 17:03:52 sniper Exp $ */ +/* $Id: soap.c,v 1.156.2.3 2005/09/12 08:24:00 dmitry Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -614,6 +614,7 @@ REGISTER_LONG_CONSTANT("XSD_POSITIVEINTEGER", XSD_POSITIVEINTEGER, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("XSD_NMTOKENS", XSD_NMTOKENS, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("XSD_ANYTYPE", XSD_ANYTYPE, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("XSD_ANYXML", XSD_ANYXML, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SOAP_ENC_OBJECT", SOAP_ENC_OBJECT, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SOAP_ENC_ARRAY", SOAP_ENC_ARRAY, CONST_CS | CONST_PERSISTENT); http://cvs.php.net/co.php/php-src/ext/soap/tests/bugs/bug34449.phpt?r=1.1&p=1 Index: php-src/ext/soap/tests/bugs/bug34449.phpt +++ php-src/ext/soap/tests/bugs/bug34449.phpt --TEST-- Bug #34449 (ext/soap: XSD_ANYXML functionality not exposed) --FILE-- <?php class TestSoapClient extends SoapClient { function __doRequest($request, $location, $action, $version) { echo "$request\n"; exit; } } $my_xml = "<array><item/><item/><item/></array>"; $client = new TestSoapClient(null, array('location' => 'test://', 'uri' => 'test://')); $client->AnyFunction(new SoapVar($my_xml, XSD_ANYXML)); ?> --EXPECT-- <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="test://" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:AnyFunction><array><item/><item/><item/></array></ns1:AnyFunction></SOAP-ENV:Body></SOAP-ENV:Envelope>

« previous php.cvs (#33912) next »