dmitry Thu Oct 16 15:49:30 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/soap php_encoding.c
Log:
ws
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_encoding.c?r1=1.103.2.21.2.37.2.8&r2=1.103.2.21.2.37.2.9&diff_format=u
Index: php-src/ext/soap/php_encoding.c
diff -u php-src/ext/soap/php_encoding.c:1.103.2.21.2.37.2.8
php-src/ext/soap/php_encoding.c:1.103.2.21.2.37.2.9
--- php-src/ext/soap/php_encoding.c:1.103.2.21.2.37.2.8 Thu Oct 16 15:36:59 2008
+++ php-src/ext/soap/php_encoding.c Thu Oct 16 15:49:29 2008
@@ -17,7 +17,7 @@
| Dmitry Stogov <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_encoding.c,v 1.103.2.21.2.37.2.8 2008/10/16 15:36:59 dmitry Exp $
*/
+/* $Id: php_encoding.c,v 1.103.2.21.2.37.2.9 2008/10/16 15:49:29 dmitry Exp $
*/
#include <time.h>
@@ -448,21 +448,21 @@
zend_binary_strncasecmp(ce->name,
ce->name_length, Z_STRVAL_PP(tmp), ce->name_length, ce->name_length) == 0 &&
zend_hash_get_current_key_ex(SOAP_GLOBAL(class_map), &type_name, &type_len,
&idx, 0, &pos) == HASH_KEY_IS_STRING) {
- /* TODO: namespace isn't stored */
- encodePtr enc = NULL;
- if (SOAP_GLOBAL(sdl)) {
- enc = get_encoder(SOAP_GLOBAL(sdl),
SOAP_GLOBAL(sdl)->target_ns, type_name);
- if (!enc) {
- enc =
find_encoder_by_type_name(SOAP_GLOBAL(sdl), type_name);
- }
- }
- if (enc) {
- if (encode != enc && style ==
SOAP_LITERAL) {
+ /* TODO: namespace isn't stored */
+ encodePtr enc = NULL;
+ if (SOAP_GLOBAL(sdl)) {
+ enc =
get_encoder(SOAP_GLOBAL(sdl), SOAP_GLOBAL(sdl)->target_ns, type_name);
+ if (!enc) {
+ enc =
find_encoder_by_type_name(SOAP_GLOBAL(sdl), type_name);
+ }
+ }
+ if (enc) {
+ if (encode != enc && style ==
SOAP_LITERAL) {
add_type = 1;
- }
- encode = enc;
- }
- break;
+ }
+ encode = enc;
+ }
+ break;
}
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php