diff options
author | Dmitry Stogov <dmitry@php.net> | 2004-01-12 08:48:00 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2004-01-12 08:48:00 +0000 |
commit | 2b0ed796072c209070b687fa42a0de626774acf9 (patch) | |
tree | 5b9786de61e160fad3043b91afc49c3ff5228f47 /ext/soap/php_schema.c | |
parent | 92eb129bd9566e45702b74d4372a13baffa92c46 (diff) | |
download | php-git-2b0ed796072c209070b687fa42a0de626774acf9.tar.gz |
WSDL support: use of type before declaration (see interop round2 base OpenLink echoStructArray)
Diffstat (limited to 'ext/soap/php_schema.c')
-rw-r--r-- | ext/soap/php_schema.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/soap/php_schema.c b/ext/soap/php_schema.c index 4659039d27..1b0756e4d8 100644 --- a/ext/soap/php_schema.c +++ b/ext/soap/php_schema.c @@ -358,8 +358,9 @@ static int schema_restriction_simpleContent(sdlPtr *sdl, xmlAttrPtr tsn, xmlNode xmlAttrPtr base; base = get_attribute(restType->properties, "base"); - if (base != NULL) + if (base != NULL) { cur_type->encode = get_encoder_from_prefix((*sdl), restType, base->children->content); + } content = get_node(restType->children, "simpleType"); if (content != NULL) { |