X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Fsaml1%2Fcore%2Fimpl%2FAssertionsImpl.cpp;h=07ce6e17f2793d4aa679d3e54daf463c867de0a5;hb=8401fad7d7b287c6c8b618eb1e65e6476eb94568;hp=761b6dec849c3129522f279720722be05182e15b;hpb=d2a4b49d734c35e5eea9543a1ea88d3d8600b09b;p=shibboleth%2Fopensaml2.git diff --git a/saml/saml1/core/impl/AssertionsImpl.cpp b/saml/saml1/core/impl/AssertionsImpl.cpp index 761b6de..07ce6e1 100644 --- a/saml/saml1/core/impl/AssertionsImpl.cpp +++ b/saml/saml1/core/impl/AssertionsImpl.cpp @@ -931,8 +931,10 @@ namespace opensaml { // Unknown child. const XMLCh* nsURI=root->getNamespaceURI(); - if (!XMLString::equals(nsURI,SAMLConstants::SAML1_NS) && nsURI && *nsURI) + if (!XMLString::equals(nsURI,SAMLConstants::SAML1_NS) && nsURI && *nsURI) { getOthers().push_back(childXMLObject); + return; + } AbstractXMLObjectUnmarshaller::processChildElement(childXMLObject,root); }