e = XMLHelper::getFirstChildElement(e);
while (e) {
if (XMLString::equals(e->getLocalName(), Exclude) && e->hasChildNodes()) {
- m_set.insert(e->getFirstChild()->getNodeValue());
+ m_set.insert(e->getFirstChild()->getTextContent());
}
e = XMLHelper::getNextSiblingElement(e);
}
doFilter(entities);
return;
}
- catch (bad_cast) {
+ catch (bad_cast&) {
}
try {
throw MetadataFilterException("BlacklistMetadataFilter instructed to filter the root/only entity in the metadata.");
return;
}
- catch (bad_cast) {
+ catch (bad_cast&) {
}
throw MetadataFilterException("BlacklistMetadataFilter was given an improper metadata instance to filter.");