summaryrefslogtreecommitdiff
path: root/ext/soap/php_xml.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2004-02-02 17:39:10 +0000
committerDmitry Stogov <dmitry@php.net>2004-02-02 17:39:10 +0000
commita70a620a01897579ab7d28418532a55dcfb6c459 (patch)
tree48fa928dd6b00c1be678cc78f328960335bcf19d /ext/soap/php_xml.c
parent862bf61de9a2f788899207a66794de65758b770f (diff)
downloadphp-git-a70a620a01897579ab7d28418532a55dcfb6c459.tar.gz
fix: proper handling of SOAP 1.1 href and unresolved attributes references
Diffstat (limited to 'ext/soap/php_xml.c')
-rw-r--r--ext/soap/php_xml.c2
1 files changed, 1 insertions, 1 deletions
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);