No metadata returned for SP with matching protocol
Cantor, Scott
cantor.2 at osu.edu
Thu Jan 14 12:13:58 EST 2016
> Sorry, was what embedded in the metadata? The xmlns attribute for each
> and every element? No, not a single mention of xmlns.
I meant was the invalid EntityDescriptor element embedded in a valid EntitiesDescriptor or was the whole XML document invalid to start with. But what matters isn't what they sent, it's what you loaded.
> The vendor sent me their metadata wrapped in EntitiesDescriptor tags. It
> was a single EntityDescriptor, though, plus I was adding it to our local
> metadata file that was already wrapped in EntitiesDescriptor tags. So, I
> removed the EntitiesDescriptor tags from the outside of the vendor
> metadata before adding itto ours. I'm not sure, if this point, if their
> EntitiesDescriptor opening element had an xmlns attribute.
Probably it did, so you stripped the namespace and it got broken at that point, but was embedded into a metadata file with at least something valid in it.
> But yes, I was surprised it loaded without an error.
I'm not sure it would have if the root element had been invalid, but that's still not good. OTOH, if you want to be rigrous, you slap the schema validation filter in there, and then I know it wouldn't have worked.
-- Scott
More information about the users
mailing list