Local version of schema definition for validation

Ian Young ian at iay.org.uk
Tue Jul 19 11:40:46 EDT 2016


> On 19 Jul 2016, at 16:34, Wessel, Keith <kwessel at illinois.edu> wrote:
> 
> When I point MDA to saml-schema-metadata-2.0.xsd directly, it complains that xmldsig-core-schema is unreadable or doesn't have an xsd:schema element at its root. In fact, it has <schema...> at its root. Missing the xsd: tag, but so is saml-schema-metadata-2.0.xsd, and that doesn't seem to be causing a problem with it.

This is a pretty unhelpful error message from the XSD parser, it's true. It's actually to do with not being able to reference external documents at all in that context. The way to work round that is to reorder the accesses so that the namespaces are defined before they are referenced.

This is what we use in the UKf tooling:

https://github.com/ukf/ukf-meta/blob/master/mdx/common-beans.xml#L933

Hope that helps,

    -- Ian




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20160719/f6daf86f/attachment.p7s>


More information about the users mailing list