anchor.diff:  
         <% @remotemetadata.each do |name,url| -%>
           <metadata:MetadataProvider xsi:type="FileBackedHTTPMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata"
  -          id="<%= name %>"
  +          id="_<%= name %>"
             metadataURL="<%= url %>"
             backingFile="<%= node["shibboleth_idp"]["home"] %>/metadata/<%= name %>-metadata.xml">
           </metadata:MetadataProvider>
  
positive.code:     <!--      Relying Party Configurations          -->
      <!-- ========================================== -->
      <% if node["shibboleth_idp"].has_key?("default_provider")
           provider = node["shibboleth_idp"]["default_provider"]
         else
           provider = "https://" + node["shibboleth_idp"]["domain"] + "/idp/shibboleth"
         end
       -%>
      <rp:AnonymousRelyingParty provider="<%= provider %>" defaultSigningCredentialRef="IdPCredential"/>
      
      <rp:DefaultRelyingParty provider="<%= provider %>" defaultSigningCredentialRef="IdPCredential">
          <!-- 
              Each attribute in these profiles configuration is set to its default value,
              that is, the values that would be in effect if those attributes were not present.
  
negative.code:     <% @relyingparties.each do |rp|
           if rp.has_key?("provider") and node["shibboleth_idp"]["override_providers"].include?(rp["provider"])
             provider = rp["provider"]
             pconf = {
               "SAML2SSOProfile" => {},
               "ShibbolethSSOProfile" => {},
               "SAML1AttributeQueryProfile" => {},
               "SAML1ArtifactResolutionProfile" => {}
             }
           elsif rp.has_key?("profile_configuration")
             provider = defprovider
             pconf = rp["profile_configuration"]
           else
             next
           end
  
           rp["entityids"].each do |entityid|
      -%>
      <rp:RelyingParty id="<%= entityid %>"
       provider="<%= provider %>"
       defaultSigningCredentialRef="IdPCredential">
        <% pconf.each do |profile, conf| -%>
          <rp:ProfileConfiguration xsi:type="saml:<%= profile %>"
          <% conf.each do |key, value| -%>
            <%= key %>="<%= value %>"
          <% end -%>
          />
        <% end -%>
      </rp:RelyingParty>
      <%   end
         end -%>
      
      <!-- ========================================== -->
  