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>
<xs:attribute>element need a
<xs:attribute name="contactType" type="xs:anyURI" use="optional"/>
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
We discussed this on the InCommon Ops Advisory Group call this morning. It is not necessary. The
useXML attribute defaults to
use="optional"so adding it to the schema simply makes it explicit (and self-documenting).
Thanks for checking. We won't add here either then. I've added an xsd for download.
Can you please create an XML Schema document with an .xsd extension? Copy-and-pasting an XML document is error prone.