summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-11-26 08:53:06 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-11-26 08:53:06 +0000
commitd3f99bc34d5c6db9bd8ad1d87b7d956eecc4cc8f (patch)
tree58ede23818dc0993dc80845b102946381637e70d
parent56e73461389ee5fe4e000106cedb97641562aa7d (diff)
downloadlasso-d3f99bc34d5c6db9bd8ad1d87b7d956eecc4cc8f.tar.gz
lasso-d3f99bc34d5c6db9bd8ad1d87b7d956eecc4cc8f.tar.xz
lasso-d3f99bc34d5c6db9bd8ad1d87b7d956eecc4cc8f.zip
use attribute xml snippet support in <lib:NameIdentifierMappingRequest>
-rw-r--r--lasso/xml/lib_name_identifier_mapping_request.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lasso/xml/lib_name_identifier_mapping_request.c b/lasso/xml/lib_name_identifier_mapping_request.c
index f31c4f82..768364ef 100644
--- a/lasso/xml/lib_name_identifier_mapping_request.c
+++ b/lasso/xml/lib_name_identifier_mapping_request.c
@@ -64,6 +64,7 @@
{ "ProviderID", 'c', (void**)&(request->ProviderID) }, \
{ "NameIdentifier", 'n', (void**)&(request->NameIdentifier) }, \
{ "TargetNamespace", 'c', (void**)&(request->TargetNamespace) }, \
+ { "consent", 'a', (void**)&(request->consent) }, \
{ NULL, 0, NULL} \
};
@@ -82,9 +83,6 @@ get_xmlNode(LassoNode *node)
xmlSetNs(xmlnode, xmlNewNs(xmlnode, LASSO_LIB_HREF, LASSO_LIB_PREFIX));
lasso_node_build_xml_with_snippets(xmlnode, snippets);
- if (request->consent)
- xmlSetProp(xmlnode, "consent", request->consent);
-
return xmlnode;
}
@@ -96,7 +94,6 @@ init_from_xml(LassoNode *node, xmlNode *xmlnode)
if (parent_class->init_from_xml(node, xmlnode))
return -1;
lasso_node_init_xml_with_snippets(xmlnode, snippets);
- request->consent = xmlGetProp(xmlnode, "consent");
return 0;
}