Fix wrong snippet type (fixes #9616)
In elements samlp2:RequestedAuthnContext, Comparison is an attribute, not a text child node.
This commit is contained in:
parent
e0afa0b995
commit
675858f43c
|
@ -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}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue