Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Generates invalid metadata? #9

Open
lpar opened this issue Mar 21, 2016 · 1 comment
Open

Generates invalid metadata? #9

lpar opened this issue Mar 21, 2016 · 1 comment

Comments

@lpar
Copy link

lpar commented Mar 21, 2016

The generated metadata includes this clause:

 <md:Extensions xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport" xmlns:mdattr="urn:oasis:names:tc:SAML:metadata:attribute" xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi">
        <EntityAttributes></EntityAttributes>
    </md:Extensions>

This is flagged as invalid according to the XSD schema when validated using https://www.samltool.com/validate_xml.php

In addition, https://www.testshib.org/ refuses the file as invalid.

If I delete the entire <md:Extensions> element from the generated metadata, the file then validates and is also accepted by testshib.org. Since the element doesn't seem to contain any actual information, I'm guessing it isn't needed.

@zetaab
Copy link

zetaab commented Mar 2, 2018

I can confirm this, xml is not valid. Do we really need this <md:Extensions> element?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants