The <MetadataResource> element within a Resource Backed Metadata Provider can have two different type of resource specified.  

The precise attributes and child element depend on the type.

Schema Names and Location

The xsi:type of the <MetadataResource> is defined by the  urn:mace:shibboleth:2.0:resource schema which can be located at http://shibboleth.net/schema/idp/shibboleth-resource.xsd. This is usually given the prefix "resource:"

Resource Types

TypeDescription
resource:SVNResourceDeprecated Locates data in an SVN repository
resource:ClasspathResourceLocates data on the Java Classpath