bergie/passport-saml — pull request #29 by leandrob (2014-05-10 00:46:15+00:00)
Title: Update package.json to fix xml-crypto version

xml-crypto changed xpath implementation on version 0.0.14 and it is throwing method not found:

TypeError: Object function SelectNodes(doc, xpath)
{
var parser = new XPathParser();
var xpath = parser.parse(xpath);
var context = new XPathContext();
if(doc.documentElement){
context.expressionContextNode = doc.documentElement;
} else {
context.expressionContextNode = doc;
}
var res = xpath.evaluate(context)

return res.toArray();
} has no method 'SelectNodes'
at SAML.validateSignature (/passport-saml/lib/passport-saml/saml.js:158:35)