X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml1%2Fcore%2Fimpl%2FProtocolsImpl.cpp;h=dc4098688f62d0e4a17dc3f269e64822733353ed;hp=a1300d6c45145aacf59adf33d1ac0d8f5c484dcd;hb=f3a43f14f9dd53428f9e879bb489d6a4cf2674a8;hpb=38ec6425a33c32f3532a20aa85fd03f95f5ff472 diff --git a/saml/saml1/core/impl/ProtocolsImpl.cpp b/saml/saml1/core/impl/ProtocolsImpl.cpp index a1300d6..dc40986 100644 --- a/saml/saml1/core/impl/ProtocolsImpl.cpp +++ b/saml/saml1/core/impl/ProtocolsImpl.cpp @@ -374,9 +374,9 @@ namespace opensaml { MARSHALL_INTEGER_ATTRIB(MinorVersion,MINORVERSION,NULL); if (!m_RequestID) const_cast(this)->m_RequestID=SAMLConfig::getConfig().generateIdentifier(); - domElement->setAttributeNS(NULL, REQUESTID_ATTRIB_NAME, m_RequestID); - if (*m_MinorVersion!=chDigit_0) - domElement->setIdAttributeNS(NULL, REQUESTID_ATTRIB_NAME); + domElement->setAttributeNS(NULL, REQUESTID_ATTRIB_NAME, m_RequestID); + if (*m_MinorVersion!=chDigit_0) + domElement->setIdAttributeNS(NULL, REQUESTID_ATTRIB_NAME); if (!m_IssueInstant) { const_cast(this)->m_IssueInstantEpoch=time(NULL); const_cast(this)->m_IssueInstant=new DateTime(m_IssueInstantEpoch); @@ -703,9 +703,9 @@ namespace opensaml { MARSHALL_INTEGER_ATTRIB(MinorVersion,MINORVERSION,NULL); if (!m_ResponseID) const_cast(this)->m_ResponseID=SAMLConfig::getConfig().generateIdentifier(); - domElement->setAttributeNS(NULL, RESPONSEID_ATTRIB_NAME, m_ResponseID); - if (*m_MinorVersion!=chDigit_0) - domElement->setIdAttributeNS(NULL, RESPONSEID_ATTRIB_NAME); + domElement->setAttributeNS(NULL, RESPONSEID_ATTRIB_NAME, m_ResponseID); + if (*m_MinorVersion!=chDigit_0) + domElement->setIdAttributeNS(NULL, RESPONSEID_ATTRIB_NAME); MARSHALL_STRING_ATTRIB(InResponseTo,INRESPONSETO,NULL); if (!m_IssueInstant) { const_cast(this)->m_IssueInstantEpoch=time(NULL);