summaryrefslogtreecommitdiffstats
path: root/lasso/xml/samlp_response.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-12-16 09:59:40 +0100
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-12-16 11:39:19 +0100
commited9c981989f007a124dc22dcde28284395053764 (patch)
tree440d8d035167d4036a3ae14112673f770c56f313 /lasso/xml/samlp_response.c
parent41538948ce1701174db9621d41abb3b7701d61ff (diff)
downloadlasso-ed9c981989f007a124dc22dcde28284395053764.tar.gz
lasso-ed9c981989f007a124dc22dcde28284395053764.tar.xz
lasso-ed9c981989f007a124dc22dcde28284395053764.zip
[xml] complete missing namespace declarations for child nodes
To allow lasso_node_impl_init_from_xmlnode to do proper namespace checking, child node which are not of the same namespace as their parent in their XSD schema must have an explicit namespace declared in the XmlSnippet.
Diffstat (limited to 'lasso/xml/samlp_response.c')
-rw-r--r--lasso/xml/samlp_response.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lasso/xml/samlp_response.c b/lasso/xml/samlp_response.c
index a7fccdee..06413fca 100644
--- a/lasso/xml/samlp_response.c
+++ b/lasso/xml/samlp_response.c
@@ -54,7 +54,8 @@
static struct XmlSnippet schema_snippets[] = {
{ "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoSamlpResponse, Status), NULL, NULL, NULL},
- { "Assertion", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoSamlpResponse, Assertion), NULL, NULL, NULL},
+ { "Assertion", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoSamlpResponse, Assertion), NULL,
+ LASSO_SAML_ASSERTION_PREFIX, LASSO_SAML_ASSERTION_HREF},
{NULL, 0, 0, NULL, NULL, NULL}
};