mirror of
https://github.com/php/php-src.git
synced 2024-12-12 03:15:29 +08:00
ws
This commit is contained in:
parent
001a548b1a
commit
ec7cca7f2d
@ -448,21 +448,21 @@ static xmlNodePtr master_to_xml_int(encodePtr encode, zval *data, int style, xml
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user