i8beef / SAML2

Other
88 stars 43 forks source link

Make it possible to load multiple Metadata Files using EntitiesDescriptor #54

Closed Smith00101010 closed 3 years ago

Smith00101010 commented 3 years ago

This fixes #53 by setting PreserveWhitespace to true while creating XmlDocuments for each EntityDescriptor found.

There was already a test for this, but it did not test the real implementation, but had its own implementation to load a EntitiesDescriptor. Interestingly that used the PreserveWhitespace setting. I moved the test file to a sub folder, so that I can load it with the actual implementation to test it.