summaryrefslogtreecommitdiff
path: root/ext/soap/soap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soap/soap.c')
-rw-r--r--ext/soap/soap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index 41c639c0aa..39b4a5fc1f 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -3946,11 +3946,19 @@ static void function_to_string(sdlFunctionPtr function, smart_str *buf)
static void model_to_string(sdlContentModelPtr model, smart_str *buf, int level)
{
+ int i;
+
switch (model->kind) {
case XSD_CONTENT_ELEMENT:
type_to_string(model->u.element, buf, level);
smart_str_appendl(buf, ";\n", 2);
break;
+ case XSD_CONTENT_ANY:
+ for (i = 0;i < level;i++) {
+ smart_str_appendc(buf, ' ');
+ }
+ smart_str_appendl(buf, "<anyXML> any;\n", sizeof("<anyXML> any;\n")-1);
+ break;
case XSD_CONTENT_SEQUENCE:
case XSD_CONTENT_ALL:
case XSD_CONTENT_CHOICE: {