Fix wrong snippet type (fixes #9616)

In elements samlp2:RequestedAuthnContext, Comparison is an attribute, not a text
child node.
This commit is contained in:
Benjamin Dauvergne 2016-01-13 09:50:18 +01:00
parent e0afa0b995
commit 675858f43c
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ static struct XmlSnippet schema_snippets[] = {
{ "AuthnContextDeclRef", SNIPPET_LIST_CONTENT,
G_STRUCT_OFFSET(LassoSamlp2RequestedAuthnContext, AuthnContextDeclRef),
NULL, LASSO_SAML2_ASSERTION_PREFIX, LASSO_SAML2_ASSERTION_HREF },
{ "Comparison", SNIPPET_CONTENT | SNIPPET_OPTIONAL,
{ "Comparison", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
G_STRUCT_OFFSET(LassoSamlp2RequestedAuthnContext, Comparison), NULL, NULL, NULL},
{NULL, 0, 0, NULL, NULL, NULL}
};