vector<const MatchFunctor*> m_functors;
};
- MatchFunctor* SHIBSP_DLLLOCAL OrFunctorFactory(const pair<const FilterPolicyContext*,const DOMElement*>& p)
+ MatchFunctor* SHIBSP_DLLLOCAL OrMatchFunctorFactory(const pair<const FilterPolicyContext*,const DOMElement*>& p)
{
return new OrMatchFunctor(p);
}
if (*id && functorMap->getMatchFunctors().count(id))
id = "";
- auto_ptr<QName> type(XMLHelper::getXSIType(e));
+ auto_ptr<xmltooling::QName> type(XMLHelper::getXSIType(e));
if (!type.get())
throw ConfigurationException("Child Rule found with no xsi:type.");
MatchFunctor* func = SPConfig::getConfig().MatchFunctorManager.newPlugin(*type.get(), make_pair(functorMap,e));
- functorMap->getMatchFunctors().insert(make_pair(id, func));
+ functorMap->getMatchFunctors().insert(multimap<string,MatchFunctor*>::value_type(id, func));
return func;
}