diff options
author | Dmitry Stogov <dmitry@php.net> | 2005-03-28 16:28:04 (GMT) |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2005-03-28 16:28:04 (GMT) |
commit | a3f2a3aab50051a626d830e57287d1b354416f36 (patch) | |
tree | 5e1a60fcf87d21095a622f42a467d8708b4d617c /ext | |
parent | 8dff99116d6e59cfa66cac9d88bbd7ac148cdbee (diff) | |
download | php-a3f2a3aab50051a626d830e57287d1b354416f36.tar.gz |
Fixed handling of attributes' namespaces
Diffstat (limited to 'ext')
-rw-r--r-- | ext/soap/php_encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index eda3281..cb17beb 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -1480,7 +1480,7 @@ static xmlNodePtr to_xml_object(encodeTypePtr type, zval *data, int style, xmlNo soap_error3(E_ERROR, "Encoding: Attribute '%s' has fixed value '%s' (value '%s' is not allowed)", (*attr)->name, (*attr)->fixed, dummy->children->content); } if ((*attr)->namens && - (type->ns == NULL || strcmp((*attr)->namens, type->ns))) { + (type->ns == NULL || strcmp((*attr)->namens, type->ns) == 0)) { xmlNsPtr nsp = encode_add_ns(xmlParam, (*attr)->namens); xmlSetNsProp(xmlParam, nsp, (*attr)->name, dummy->children->content); |