From 27f98071e7be6bf62169fa99c4d3695915243473 Mon Sep 17 00:00:00 2001 From: John Dennis Date: Tue, 26 May 2015 11:28:15 -0400 Subject: [PATCH] Fix LassoSoapHeader, was unable to serialize from XML. The existing Lasso code never made use of SOAP headers because up until now nothing used them. LassoSoapHeader was unable to serialize from XML into a GList of LassoNode objects because it was missing one of the necessary snippet flags. This corrects this omission and now parsing a SOAP header will yield a sequence of LassoNode's. Signed-off-by: John Dennis License: MIT --- lasso/xml/soap-1.1/soap_header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lasso/xml/soap-1.1/soap_header.c b/lasso/xml/soap-1.1/soap_header.c index 5d0d3745..d2178eb3 100644 --- a/lasso/xml/soap-1.1/soap_header.c +++ b/lasso/xml/soap-1.1/soap_header.c @@ -35,7 +35,7 @@ /*****************************************************************************/ static struct XmlSnippet schema_snippets[] = { - { "", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoSoapHeader, Other), NULL, NULL, NULL}, + { "any", SNIPPET_LIST_NODES | SNIPPET_ANY, G_STRUCT_OFFSET(LassoSoapHeader, Other), NULL, NULL, NULL}, {NULL, 0, 0, NULL, NULL, NULL} };