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

From: Date: Mon, 12 Sep 2005 08:26:06 +0000
Subject: cvs: php-src(PHP_5_0) / NEWS /ext/soap soap.c /ext/soap/tests/bugs bug34449.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33913@lists.php.net to get a copy of this message
dmitry Mon Sep 12 04:26:06 2005 EDT Added files: (Branch: PHP_5_0) /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.1760.2.476&r2=1.1760.2.477&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1760.2.476 php-src/NEWS:1.1760.2.477 --- php-src/NEWS:1.1760.2.476 Mon Sep 5 08:00:19 2005 +++ php-src/NEWS Mon Sep 12 04:26:04 2005 @@ -1,6 +1,7 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? ????, PHP 5.0.6 +- Fixed bug #34449 (ext/soap: XSD_ANYXML functionality not exposed). (Dmitry) 05 Sep 2005, PHP 5.0.5 - Upgraded PCRE library to version 5.0. (Andrei) http://cvs.php.net/diff.php/php-src/ext/soap/soap.c?r1=1.110.2.42&r2=1.110.2.43&ty=u Index: php-src/ext/soap/soap.c diff -u php-src/ext/soap/soap.c:1.110.2.42 php-src/ext/soap/soap.c:1.110.2.43 --- php-src/ext/soap/soap.c:1.110.2.42 Wed Aug 17 13:04:37 2005 +++ php-src/ext/soap/soap.c Mon Sep 12 04:26:05 2005 @@ -17,7 +17,7 @@ | Dmitry Stogov <dmitry@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: soap.c,v 1.110.2.42 2005/08/17 17:04:37 sniper Exp $ */ +/* $Id: soap.c,v 1.110.2.43 2005/09/12 08:26:05 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 (#33913) next »