<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Tim,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I think I skipped a few steps in my previous explanations... - the explicit reference to dcterms:location is now coming from a custom addition to
<span>tdwg_dwc_classes.xsd</span>. If this wasn't there, dcterms:location wouldn't be defined at all in the schema, thus making the samples shown in section 2.7.1 of
<a href="https://dwc.tdwg.org/xml/" class="OWAAutoLink">https://dwc.tdwg.org/xml/</a> invalid. The goal was to make "location" mandatory in the Darwin Core description (among a few other classes).  I added the following to the xs:sequence definition of the
 Darwin Record Set.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>            <xs:element ref="dcterms:location" minOccurs="1"/><br>
            <xs:element ref="dwc:Occurrence" minOccurs="1"/><br>
            <xs:element ref="dwc:Identification" minOccurs="1"/><br>
            <xs:element ref="dwc:Taxon" minOccurs="1"/><br>
<br>
</div>
<p></p>
<p style="margin-top:0;margin-bottom:0">All of these (including a commented out dcterms:location) are defined in
<span>tdwg_dwc_class_terms.xsd</span>, and the dcterms:location comment says "<span>see dublin_core.xsd for definition". As we have now both observed, dublin_core.xsd used to exist, but has now been removed... the commented out code would seem to define dcterms:location
 in the same structure as the other dwc classes from t<span>dwg_dwc_class_terms.xsd</span>, and seems to be exactly what I would need - except, if the Darwin Core XML guide is all valid, I would be making 'custom classes and terms' for my Darwin Core plugin,
 which breaks interoperability.</span></p>
<p style="margin-top:0;margin-bottom:0"><br>
<span></span></p>
<p style="margin-top:0;margin-bottom:0"><span>Kim</span><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Tim Robertson <trobertson@gbif.org><br>
<b>Sent:</b> 12 December 2018 16:05:56<br>
<b>To:</b> Kim Mortimer; tdwg-content@lists.tdwg.org; John Wieczorek; Peter Desmet<br>
<b>Subject:</b> Re: [tdwg-content] Darwin Core and dcterms:location</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
span.x_EmailStyle19
        {font-family:"Calibri",sans-serif;
        color:windowtext}
span.x_msoIns
        {text-decoration:underline;
        color:teal}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:3.0cm 2.0cm 3.0cm 2.0cm}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-GB" link="blue" vlink="purple" style="background-color:white">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="">Hi Kim,</span></p>
<p class="x_MsoNormal"><span style="">(moving our private discussion onto this list)
</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">Thanks for the links. </span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">As far as I can see the “custom” dublin_core.xsd existed in all DwC releases from 2009 up until 2013-10-23 where it was removed.</span></p>
<p class="x_MsoNormal"><span style="">In that removal, the references to the location were also commented out (I presume meaning the modified XSD was no longer needed) though.
</span></p>
<p class="x_MsoNormal"><span style="">For you to still find references to it suggests you might be using an older version of the Darwin Core XSD – is that possible?</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><b><span style="">John / Peter</span></b><span style="">: Do you recall why it was removed?
</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">To save searching, the modification to the DC xsd appeared to contain only the following:</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Courier",serif">    <!-- SAMPLING LOCATION domain --></span></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Courier",serif">    <xs:element name="Location" substitutionGroup="dwc:anyClass"></span></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Courier",serif">        <xs:complexType></span></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Courier",serif">            <xs:choice maxOccurs="unbounded"></span></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Courier",serif">                <xs:element ref="dwc:anyIdentifier"/></span></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Courier",serif">                <xs:element ref="dwc:anyLocationTerm"/></span></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Courier",serif">                <xs:element ref="dwc:anyRecordLevelTerm"/></span></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Courier",serif">            </xs:choice></span></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Courier",serif">        </xs:complexType></span></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Courier",serif">    </xs:element> 
</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">The commented out reference in the DwC xsd:</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Courier",serif; color:#A6A6A6"><!-- LOCATION domain --><!-- reuses the dcterms:location term, so see dublin_core.xsd for definition --><!--<xs:element name="Location" substitutionGroup="dwc:anyClass">
 <xs:complexType> <xs:choice maxOccurs="unbounded"> <xs:element ref="dwc:anyIdentifier"/> <xs:element ref="dwc:anyLocationTerm"/> <xs:element ref="dwc:anyRecordLevelTerm"/> </xs:choice> </xs:complexType> </xs:element>--></span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">(see https://dwc.tdwg.org/xml/tdwg_dwc_class_terms.xsd)</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal"><b><span style="font-size:12.0pt; color:black">From: </span>
</b><span style="font-size:12.0pt; color:black">tdwg-content <tdwg-content-bounces@lists.tdwg.org> on behalf of Kim Mortimer <K.Mortimer@dal.ca><br>
<b>Date: </b>Wednesday, 12 December 2018 at 20.34<br>
<b>To: </b>"tdwg-content@lists.tdwg.org" <tdwg-content@lists.tdwg.org><br>
<b>Subject: </b>Re: [tdwg-content] Darwin Core and dcterms:location</span></p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div id="x_divtagdefaultwrapper">
<p><span style="font-size:12.0pt; color:black">To the TDWG mailing list and whomever it may concern,</span></p>
<p><span style="font-size:12.0pt; color:black"> </span></p>
<p><span style="font-size:12.0pt; color:black">Darwin Core uses a Dublin Core element, dcterms:location, in its definition of classes and elements. However, no current XSD files for Dublin Core (that I can find) define location as an element. For reference,
 the current Dublin Core XSD files that I am familiar with are available at <a href="http://dublincore.org/schemas/xmls/qdc/">
http://dublincore.org/schemas/xmls/qdc/</a> Given that dcterms:location is therefore an undefined element, the Darwin Core XML is invalid.</span></p>
<p><span style="font-size:12.0pt; color:black"> </span></p>
<p><span style="font-size:12.0pt; color:black">This is important to me, and my employer MERIDIAN, because we are implementing Darwin Core in a GeoNetwork metadata schema plugin for our repository. To allow other documents to be validated against our schema
 within GeoNetwork, the entire plugin XML (which for us includes the Darwin Core XML) must be valid. I previously sent an email about this in September but did not receive any useful advice at the time. Development on our metadata repository has progressed
 without this element since then, as we have been tracking down other errors in GeoNetwork, but this is the current 'blocking' problem for us.</span></p>
<p><span style="font-size:12.0pt; color:black"> </span></p>
<p><span style="font-size:12.0pt; color:black">The Darwin Core XSD files reference a dublin_core.xsd in their comments, which is said to contain dcterms:location. My best guess at what this refers to is <a href="https://github.com/tdwg/dwc/blob/2011-10-26/xsd/dublin_core.xsd">https://github.com/tdwg/dwc/blob/2011-10-26/xsd/dublin_core.xsd</a>
 - which is from a previous version of Darwin Core, and appears to be a custom version of
<a href="http://dublincore.org/schemas/xmls/qdc/2008/02/11/dcterms.xsd">http://dublincore.org/schemas/xmls/qdc/2008/02/11/dcterms.xsd</a> - so it unclear whether this is correct or not.
</span></p>
<p><span style="font-size:12.0pt; color:black"> </span></p>
<p><span style="font-size:12.0pt; color:black">Given that TDWG is responsible for Darwin Core, I am hopeful that someone will have a tip or solution. My alternative is to define dcterms:location myself as a custom insertion into Dublin Core, but based on the
 comments in Darwin Core files I believe some suitable XSD must exist. </span></p>
<p><span style="font-size:12.0pt; color:black"> </span></p>
<p><span style="font-size:12.0pt; color:black">Thank you very much for your time,</span></p>
<p><span style="font-size:12.0pt; color:black"> </span></p>
<p><span style="font-size:12.0pt; color:black">Kim Mortimer</span></p>
<p><span style="font-size:12.0pt; color:black"> </span></p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper">
<div>
<table class="x_MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="border:none; border-right:solid #3893A8 3.0pt; padding:1.2pt 3.6pt 1.2pt 2.4pt">
<p class="x_MsoNormal"><span style="border:solid windowtext 1.0pt; padding:0cm"><img border="0" width="150" height="150" id="x__x0000_i1025" alt="mage removed by sender. MERIDIAN on blue circle containing many numbers, " data-outlook-trace="F:0|T:1" src="cid:Word%20Work%20File%20D_79942522.jpg"></span></p>
</td>
<td style="padding:0cm 3.6pt 1.2pt 2.4pt">
<table class="x_MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0cm 0cm 2.4pt 0cm">
<p class="x_MsoNormal"><strong><span style="font-size:13.0pt; font-family:"Tahoma",sans-serif; color:#FF7400">Kim Mortimer</span></strong><span style="font-size:13.0pt; font-family:"Tahoma",sans-serif; color:#FF7400"></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal"><span style="font-size:9.0pt; font-family:"Tahoma",sans-serif; color:#333333">Data Manager</span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal"><strong><span style="font-size:9.0pt; font-family:"Tahoma",sans-serif; color:#333333">MERIDIAN - Marine Environmental Research Infrastructure for Data Integration and Application Network</span></strong><span style="font-size:9.0pt; font-family:"Tahoma",sans-serif; color:#333333"></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal"><span style="font-size:9.0pt; font-family:"Tahoma",sans-serif; color:#333333">Institute for Big Data Analytics, Faculty of Computer Sciences, Dalhousie University</span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal"><span style="font-size:9.0pt; font-family:"Tahoma",sans-serif; color:#FF7400">p:</span><span style="font-size:9.0pt; font-family:"Tahoma",sans-serif; color:#333333"> + 1 902 494 1812
</span><span style="font-size:9.0pt; font-family:"Tahoma",sans-serif; color:#FF7400">m:</span><span style="font-size:9.0pt; font-family:"Tahoma",sans-serif; color:#333333"> +1 902 880 1863</span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal"><span style="font-size:9.0pt; font-family:"Tahoma",sans-serif; color:#FF7400">a:</span><span style="font-size:9.0pt; font-family:"Tahoma",sans-serif; color:#333333"> 6050 University Ave, Halifax, NS, B3H 4R2, Canada</span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="x_MsoNormal"><span style="font-size:9.0pt; font-family:"Tahoma",sans-serif; color:#FF7400">w:
<a href="https://meridian.cs.dal.ca" id="LPNoLP"><span style="color:#3893A8; text-decoration:none">https://meridian.cs.dal.ca</span></a> e:
<a href="mailto:k.mortimer@dal.ca" id="LPNoLP"><span style="color:#3893A8; text-decoration:none">k.mortimer@dal.ca</span></a></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="x_MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>