You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when validating INSPIRE metadata of a dataset we get a failed test for the INSPIRE GEMET thesaurus cause of a missing dateType "publication" (md-iso.f.1: Dataset keyword).
The metadata record set has 1 record(s) with errors for this assertion.
XML document 'xxx', record 'xxx': The metadata record has keywords which originate from a controlled vocabulary 'GEMET - INSPIRE themes, version 1.0', but the date or date type is not correct. Date should be '2008-06-01' and date type 'publication'. The keywords are: xxx.
GeoNetwork saves the datetype like this: <gmd:CI_DateTypeCode codeList=http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_DateTypeCode codeListValue="publication"/>
We found out that the validator only accepts the datetype if also written in plain text outside the xml tag element, which in my opinion is not necessary: <gmd:CI_DateTypeCode codeList=http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_DateTypeCode codeListValue="publication">publication</gmd:CI_DateTypeCode>
Can you change the test suite, that the dateType gets extracted from the codelistvalue and not from plain text?
Best regards,
Manuel
The text was updated successfully, but these errors were encountered:
Hello,
when validating INSPIRE metadata of a dataset we get a failed test for the INSPIRE GEMET thesaurus cause of a missing dateType "publication" (md-iso.f.1: Dataset keyword).
e.g. http://geometadatensuche.inspire.gv.at/metadatensuche/srv/api/records/55e494dd-e0af-4806-95d6-86e30dde0504/formatters/xml
GeoNetwork saves the datetype like this:
<gmd:CI_DateTypeCode codeList=http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_DateTypeCode codeListValue="publication"/>
We found out that the validator only accepts the datetype if also written in plain text outside the xml tag element, which in my opinion is not necessary:
<gmd:CI_DateTypeCode codeList=http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml#CI_DateTypeCode codeListValue="publication">publication</gmd:CI_DateTypeCode>
Can you change the test suite, that the dateType gets extracted from the codelistvalue and not from plain text?
Best regards,
Manuel
The text was updated successfully, but these errors were encountered: