mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fixed incorrect error message
This commit is contained in:
commit
2a0e4b88fd
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue