Thanks Eamonn, Martin,

I have fixed the xsd in github:
https://github.com/tdwg/dwc/commit/9513b31c371abe93a8f70c1b767de960a68a0330

and merged the change into github pages so its online and the simple xsd validates:
http://rs.tdwg.org/dwc/xsd/tdwg_dwcterms.xsd

Cheers,
Markus


On 15 Apr 2015, at 09:43, Éamonn Ó Tuama [GBIF] <eotuama@gbif.org> wrote:

Hi Martin,
 
The issue seems to be due to an error in the XSD files where the term names are stated incorrectly – sampleValueSize vs sampleSizeValue, sampleValueUnit vs sampleSizeUnit:
 
<xs:element name="sampleValueSize" type="xs:string" substitutionGroup="dwc:anyEventTerm"/>
<xs:element name="sampleValueUnit" type="xs:string" substitutionGroup="dwc:anyEventTerm"/>
 
<xs:element ref="dwc:sampleSizeValue" minOccurs="0"/>
<xs:element ref="dwc:sampleSizeUnit" minOccurs="0"/>
 
I’m CCing John who I assume has access to fix the files.
 
Best regards,
Éamonn
 
From: tdwg-content-bounces@lists.tdwg.org [mailto:tdwg-content-bounces@lists.tdwg.org] On Behalf Of Mergen Patricia
Sent: 05 April 2015 08:27
To: Seifert-Martin; tdwg-content@lists.tdwg.org
Cc: secretary@tdwg.org
Subject: Re: [tdwg-content] Problem when validating Simple Darwin Core Recordset file
 

Dear Martin
Thanks for your mail. I forward your mail to the experts list who may advice further.

With my best wishes

Pat

Le 5 Avr. 2015 08:20, "Seifert-Martin" <Seifert-Martin@t-online.de> a écrit :

Dear Madam or Sir,

when validating a Simple Darwin Core Recordset file I get the following error messages:

File: http://rs.tdwg.org/dwc/xsd/tdwg_dwc_simple.xsd, line 100, column 71:
Cannot resolve the name 'dwc:sampleSizeValue' to a(n) 'element declaration' component.
<xs:element ref="dwc:sampleSizeValue" minOccurs="0"/>

File:  http://rs.tdwg.org/dwc/xsd/tdwg_dwc_simple.xsd, line 101, column 70:
Cannot resolve the name 'dwc:sampleSizeUnit' to a(n) 'element declaration' component.
<xs:element ref="dwc:sampleSizeUnit" minOccurs="0"/>

File: http://rs.tdwg.org/dwc/xsd/tdwg_dwcterms.xsd, line 206, column 67:
Cannot resolve the name 'dwc:sampleSizeValue' to a(n) 'element declaration' component.
<xs:element ref="dwc:sampleSizeValue" minOccurs="0"/>

File: http://rs.tdwg.org/dwc/xsd/tdwg_dwcterms.xsd, line 207, column 66:
Cannot resolve the name 'dwc:sampleSizeUnit' to a(n) 'element declaration' component.
<xs:element ref="dwc:sampleSizeUnit" minOccurs="0"/>

Please, would you forward this e-mail to one of your technicians.

Kind regards,
Martin Seifert

_______________________________________________
tdwg-content mailing list
tdwg-content@lists.tdwg.org
http://lists.tdwg.org/mailman/listinfo/tdwg-content