whitespace in xml

Chad La Joie lajoie at itumi.biz
Mon Jul 30 09:49:17 EDT 2012


If all you did was add whitespace in the IdP's config files then it
will absolutely not have any effect on what the SP receives.

On Mon, Jul 30, 2012 at 9:46 AM, Roderick Grau <rgrau at albany.edu> wrote:
> 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
>
>
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net



-- 
Chad La Joie
www.itumi.biz
trusted identities, delivered


More information about the users mailing list