diff options
author | Dmitry Stogov <dmitry@php.net> | 2004-04-02 06:23:51 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2004-04-02 06:23:51 +0000 |
commit | 7dae9e6cadd3aa6610433105718caa1ce2d8e21e (patch) | |
tree | 21a3b966b0068de983490e70046050722232c814 /ext/soap/php_schema.c | |
parent | 9a6dad867d1d0c5325dbc94e8db0e45035f7dba1 (diff) | |
download | php-git-7dae9e6cadd3aa6610433105718caa1ce2d8e21e.tar.gz |
Fixed bug #27742 (WDSL SOAP Parsing Schema bug)
Diffstat (limited to 'ext/soap/php_schema.c')
-rw-r--r-- | ext/soap/php_schema.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/soap/php_schema.c b/ext/soap/php_schema.c index 8aa028cb71..985ec0ecc1 100644 --- a/ext/soap/php_schema.c +++ b/ext/soap/php_schema.c @@ -1678,7 +1678,7 @@ static int schema_element(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTyp /* TODO: <unique> support */ } else if (node_is_equal(trav,"key")) { /* TODO: <key> support */ - } else if (node_is_equal(trav,"key")) { + } else if (node_is_equal(trav,"keyref")) { /* TODO: <keyref> support */ } else { php_error(E_ERROR, "SOAP-ERROR: Parsing Schema: unexpected <%s> in element",trav->name); @@ -1954,6 +1954,10 @@ static int schema_attributeGroup(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrGrou } trav = attrGroup->children; + if (trav != NULL && node_is_equal(trav, "annotation")) { + /* TODO: <annotation> support */ + trav = trav->next; + } while (trav != NULL) { if (node_is_equal(trav,"attribute")) { if (ref != NULL) { |