whitespace in xml

Roderick Grau rgrau at albany.edu
Mon Jul 30 09:46:41 EDT 2012


Shib-users,

In an attempt to make my xml files more readable, I added some white space between elements.

For example in the relying-party.xml:

<!-- Load the IdP's own metadata.  This is necessary for artifact support. -->

    <MetadataProvider
      id="IdPMD"
      xsi:type="ResourceBackedMetadataProvider"
      xmlns="urn:mace:shibboleth:2.0:metadata" >
      <MetadataResource
        xsi:type="resource:FilesystemResource"
        file="/usr/local/shibboleth-idp/metadata/idp-metadata.xml" />
    </MetadataProvider>

In the security configuration:

  <security:Credential id="IdPCredential" xsi:type="security:X509Filesystem">
    <security:PrivateKey>
      /usr/local/shibboleth-idp/credentials/idp.key
   </security:PrivateKey>
    <security:Certificate>
      /usr/local/shibboleth-idp/credentials/idp.crt
   </security:Certificate>
  </security:Credential>

This caused an SP (MS Live) to not recognize the Idp's assertions any more.  Very hard to track down, since I did not think white space in xml really mattered.

Can someone confirm this?

-Rod
--
Roderick Grau
IT Systems Management and Operations
University at Albany
1400 Washington Avenue Ext.
Albany, New York 12222




More information about the users mailing list