From a70a620a01897579ab7d28418532a55dcfb6c459 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 2 Feb 2004 17:39:10 +0000 Subject: fix: proper handling of SOAP 1.1 href and unresolved attributes references --- ext/soap/php_xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/soap/php_xml.c') diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c index 65e058c2bf..0f03d19fa7 100644 --- a/ext/soap/php_xml.c +++ b/ext/soap/php_xml.c @@ -182,7 +182,7 @@ xmlNodePtr get_node_with_attribute_recursive_ex(xmlNodePtr node, char *name, cha int parse_namespace(const char *inval, char **value, char **namespace) { - char *found = strchr(inval, ':'); + char *found = strrchr(inval, ':'); if (found != NULL && found != inval) { (*namespace) = estrndup(inval, found - inval); -- cgit v1.2.1