Possible bug with Shib IdP v4.0.0

Mak, Steve makst at upenn.edu
Sat Apr 18 11:37:54 EDT 2020


When I run:

xmllint --noout --schema saml-schema-metadata-2.0.xsd sp.xml

It validates if I pull down the xsd files it needs.  But maybe I'm doing something wrong here.

I do see in the xsd:

    <complexType name="AttributeConsumingServiceType">
        <sequence>
            <element ref="md:ServiceName" maxOccurs="unbounded"/>
            <element ref="md:ServiceDescription" minOccurs="0" maxOccurs="unbounded"/>
            <element ref="md:RequestedAttribute" maxOccurs="unbounded"/>
        </sequence>
        <attribute name="index" type="unsignedShort" use="required"/>
        <attribute name="isDefault" type="boolean" use="optional"/>
    </complexType>

Is there a better way to validate this?


On 4/18/20, 07:03, "users on behalf of Peter Schober" <users-bounces at shibboleth.net on behalf of peter.schober at univie.ac.at> wrote:

> The problem goes away when I remove the line:
> 	<ServiceName xml:lang="en"/>

That's schema-invalid: AttributeConsumingService requires a
ServiceName child element (and also an RequestedAttribute one).



More information about the users mailing list