From 7aa4bcb19845cf3c6c799945da9a3d3057ae3a13 Mon Sep 17 00:00:00 2001 From: mrcsys Date: Wed, 25 Jan 2006 18:12:06 +0000 Subject: fixed a bug that was preventing the return of default namespaces --- libcsoap/soap-env.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libcsoap') diff --git a/libcsoap/soap-env.c b/libcsoap/soap-env.c index 5859dbc..9b83abc 100644 --- a/libcsoap/soap-env.c +++ b/libcsoap/soap-env.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-env.c,v 1.12 2006/01/10 11:29:04 snowdrop Exp $ +* $Id: soap-env.c,v 1.13 2006/01/25 18:12:06 mrcsys Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -591,7 +591,8 @@ soap_env_find_urn(SoapEnv * env, char *urn) return 0; } - if (node->ns && node->ns->prefix) + /* if (node->ns && node->ns->prefix) MRC 1/25/2006 */ + if (node->ns) { ns = xmlSearchNs(body->doc, node, node->ns->prefix); if (ns != NULL) -- cgit v1.1-32-gdbae