UPDATE ......From Wednesday 16 July 2025 we have changed the way that Single Sign-on works on this wiki. Please see here for more information:
Update
This is an XML Schema for REFEDS-defined metadata extensions.
Any attributes defined within the REFEDS namespace should be added to this schema.
An XSD for download is available here: refeds_metadata_extension_schema.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://refeds.org/metadata"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
blockDefault="substitution"
version="2.0">
<xs:annotation>
<xs:documentation>
Document title: Schema for REFEDS metadata extensions
Document identifier: Metadata Extension Schema
Location: "https://wiki.refeds.org/display/stan/metadata+extension+schema"
Revision history:
V1.0 (29 March 2016):
Initial version with contactType attribute.
</xs:documentation>
</xs:annotation>
<xs:attribute name="contactType" type="xs:anyURI"/>
</xs:schema>
5 Comments
Tom Scavo
Doesn't the
<xs:attribute>element need auseXML attribute?<xs:attribute name="contactType" type="xs:anyURI" use="optional"/>Hannah Short
Hi Tom,
Please could you explain a bit why you believe it is necessary? The baseline for this extension schema was done by Incommon https://spaces.internet2.edu/display/InCFederation/Metadata+Extension+Schema and it's unclear why a "use" attribute should be needed here but not there. It would be good to have both schemas aligned
Cheers
Tom Scavo
We discussed this on the InCommon Ops Advisory Group call this morning. It is not necessary. The
useXML attribute defaults touse="optional"so adding it to the schema simply makes it explicit (and self-documenting).Hannah Short
Thanks for checking. We won't add here either then. I've added an xsd for download.
Tom Scavo
Can you please create an XML Schema document with an .xsd extension? Copy-and-pasting an XML document is error prone.