From 2238e4b9f0a0894dde1a4965418bba645a5cee6a Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 28 Jan 2004 13:30:21 +0000 Subject: Add namespaces to (not ot subnodes) --- ext/soap/php_schema.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/soap/php_schema.c') diff --git a/ext/soap/php_schema.c b/ext/soap/php_schema.c index 298eae1b48..3f928b199c 100644 --- a/ext/soap/php_schema.c +++ b/ext/soap/php_schema.c @@ -279,7 +279,7 @@ int load_schema(sdlPtr sdl,xmlNodePtr schema) uri = xmlBuildURI(location->children->content, base); xmlFree(base); } - } + } schema_load_file(sdl,ns,uri,tns,1); if (uri != NULL) {xmlFree(uri);} } else if (node_is_equal(trav,"annotation")) { @@ -2210,11 +2210,13 @@ int schema_pass2(sdlPtr sdl) int schema_pass3(sdlPtr sdl) { +/* if (sdl->elements) { zend_hash_destroy(sdl->elements); free(sdl->elements); sdl->elements = NULL; } +*/ if (sdl->attributes) { zend_hash_destroy(sdl->attributes); free(sdl->attributes); @@ -2332,4 +2334,3 @@ static void delete_schema_restriction_var_char(void *srvc) free(ptr); } } - -- cgit v1.2.1