summaryrefslogtreecommitdiff
path: root/ext/soap/php_schema.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2004-01-28 13:30:21 +0000
committerDmitry Stogov <dmitry@php.net>2004-01-28 13:30:21 +0000
commit2238e4b9f0a0894dde1a4965418bba645a5cee6a (patch)
tree5888595c81d81404426faad1aa1e87ea66d4a25a /ext/soap/php_schema.c
parentbe7d41b90556c498059ce093e67519d2abcb24e3 (diff)
downloadphp-git-2238e4b9f0a0894dde1a4965418bba645a5cee6a.tar.gz
Add namespaces to <Envelope> (not ot subnodes)
Diffstat (limited to 'ext/soap/php_schema.c')
-rw-r--r--ext/soap/php_schema.c5
1 files changed, 3 insertions, 2 deletions
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);
}
}
-