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 <jdennis@redhat.com>
License: MIT
This commit is contained in:
John Dennis 2015-05-26 11:28:15 -04:00 committed by Benjamin Dauvergne
parent a3f01cd42c
commit 27f98071e7
1 changed files with 1 additions and 1 deletions

View File

@ -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}
};