Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tetsuite INSPIRE Theme dateType #14

Closed
manilly opened this issue Nov 15, 2018 · 1 comment
Closed

Tetsuite INSPIRE Theme dateType #14

manilly opened this issue Nov 15, 2018 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@manilly
Copy link

manilly commented Nov 15, 2018

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).

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.

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

@michellutz
Copy link

This issue is already being discussed in inspire-eu-validation/ets-repository#180.

Please check the progress and resolution there.

@michellutz michellutz added the duplicate This issue or pull request already exists label Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants