From 695436b7098725a56300ff4b48df6dccde6ad380 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 23 Jan 2004 14:43:15 +0000 Subject: XML Schema support was improved support for type extension support for attribute encoding/decoding support for SOAP 1.2 array encoding/decoding --- ext/soap/php_schema.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/soap/php_schema.c') diff --git a/ext/soap/php_schema.c b/ext/soap/php_schema.c index d64b30dfb3..3d54e9252a 100644 --- a/ext/soap/php_schema.c +++ b/ext/soap/php_schema.c @@ -518,11 +518,11 @@ static int schema_simpleContent(sdlPtr sdl, xmlAttrPtr tsn, xmlNodePtr simpCompT } if (trav != NULL) { if (node_is_equal(trav, "restriction")) { - cur_type->kind = XSD_TYPEKIND_SIMPLE_RESTRICTION; + cur_type->kind = XSD_TYPEKIND_RESTRICTION; schema_restriction_simpleContent(sdl, tsn, trav, cur_type, 0); trav = trav->next; } else if (node_is_equal(trav, "extension")) { - cur_type->kind = XSD_TYPEKIND_SIMPLE_EXTENSION; + cur_type->kind = XSD_TYPEKIND_EXTENSION; schema_extension_simpleContent(sdl, tsn, trav, cur_type); trav = trav->next; } else { @@ -1263,11 +1263,11 @@ static int schema_complexContent(sdlPtr sdl, xmlAttrPtr tsn, xmlNodePtr compCont } if (trav != NULL) { if (node_is_equal(trav, "restriction")) { - cur_type->kind = XSD_TYPEKIND_COMPLEX_RESTRICTION; + cur_type->kind = XSD_TYPEKIND_RESTRICTION; schema_restriction_complexContent(sdl, tsn, trav, cur_type); trav = trav->next; } else if (node_is_equal(trav, "extension")) { - cur_type->kind = XSD_TYPEKIND_COMPLEX_EXTENSION; + cur_type->kind = XSD_TYPEKIND_EXTENSION; schema_extension_complexContent(sdl, tsn, trav, cur_type); trav = trav->next; } else { -- cgit v1.2.1