git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@373
fb386ef7-a10c-0410-8ebf-
fd3f8e989ab0
IMPL_TYPED_CHILDREN(ContactPerson,m_pos_ContactPerson);
bool hasSupport(const XMLCh* protocol) const {
IMPL_TYPED_CHILDREN(ContactPerson,m_pos_ContactPerson);
bool hasSupport(const XMLCh* protocol) const {
+ if (!protocol || !*protocol)
+ return true;
if (m_ProtocolSupportEnumeration) {
// Look for first character.
unsigned int len=XMLString::stringLen(protocol);
if (m_ProtocolSupportEnumeration) {
// Look for first character.
unsigned int len=XMLString::stringLen(protocol);