diff options
author | George Peter Banyard <girgias@php.net> | 2020-09-30 08:37:16 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2020-09-30 08:37:16 +0300 |
commit | 161636385057fdf7bc23539fc1714fc9c1526fa1 (patch) | |
tree | 0e877673489d4e603738849245fc069b0e11aaf6 | |
parent | 3f5c47af3bab388b9a8b70bf765ee8f3153649dc (diff) | |
download | php-git-161636385057fdf7bc23539fc1714fc9c1526fa1.tar.gz |
Fixed incorrect error message
-rw-r--r-- | ext/soap/php_schema.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/soap/php_schema.c b/ext/soap/php_schema.c index edfe694021..3eb66a5c03 100644 --- a/ext/soap/php_schema.c +++ b/ext/soap/php_schema.c @@ -1614,8 +1614,6 @@ static int schema_element(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTyp attr = get_attribute(attrs, "default"); if (attr) { if (ref != NULL) { - soap_error0(E_ERROR, "Parsing Schema: element has both 'ref' and 'fixed' attributes"); - } else if (ref != NULL) { soap_error0(E_ERROR, "Parsing Schema: element has both 'default' and 'fixed' attributes"); } cur_type->def = estrdup((char*)attr->children->content); |