305
303
/* TODO: will need to use another href for id-ff 1.1 support */
306
304
xpathObj = xmlXPathEvalExpression((xmlChar*)"//lib:AuthnRequest", xpathCtx);
309
308
return critical_error(LASSO_PROFILE_ERROR_INVALID_MSG);
311
311
if (xpathObj->nodesetval == NULL || xpathObj->nodesetval->nodeNr == 0) {
312
313
xmlXPathFreeObject(xpathObj);
313
314
return critical_error(LASSO_PROFILE_ERROR_INVALID_MSG);
316
317
authn_request = xmlCopyNode(xpathObj->nodesetval->nodeTab[0], 1);
319
325
soap_envelope = xmlNewNode(NULL, (xmlChar*)"Envelope");
320
326
xmlSetNs(soap_envelope, xmlNewNs(soap_envelope,