Shibboleth XML Configuration file Validation

Peter Schober peter.schober at univie.ac.at
Fri Sep 21 07:14:43 EDT 2012


* Mark O'Quinn <mark1oquinn at gmail.com> [2012-09-21 00:03]:
> I trying to validate some of the xml files found in the
> configuration folder of shibboleth (e.g, relying-party.xml) using
> Xerces, XOM and javax.xml.* but when I load the xsd files mentioned
> in the relying-party.xml file, it keeps asking for more and more xsd
> files that are not mention in the previous xml file. So the question
> is, how do you guys validate the xmls in shibboleth, what is the
> class that does this in order to check the logic.

Just for validating SAML 2.0 (signed) metadata you need
saml-schema-metadata-2.0.xsd
saml-schema-assertion-2.0.xsd
xmldsig-core-schema.xsd
xenc-schema.xsd
xml.xsd
so I'd just keep adding those schemas ;)
-peter


More information about the dev mailing list