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

[md-tg-2.0] Message for test of datasets-and-series 1.3 (unique resource identifier) unclear #178

Open
michellutz opened this issue Sep 13, 2018 · 5 comments
Assignees

Comments

@michellutz
Copy link

Relevant for https://github.com/inspire-eu-validation/ets-repository/blob/md-tg-2.0/metadata/2.0/datasets-and-series/ets-md-datasets-and-series-bsxets.xml

The message reported ("The gmd_Anchor registry must have a correct xlink: href element.") is unclear. I assume it should express that an Anchor element is expected in the code element.

Looking at the TG v2.0.1, the requirement 1.3 and the example are not quite clear about this and slightly contradictory.

TG Requirement 1.3: metadata/2.0/req/datasets-and-series/dataset-uid

A unique identifier shall be given for each described dataset or data sets series. This identifier shall be a URI consisting of a namespace uniquely identifying a naming context governed by an identifier authority, and a code unique within this namespace.

The identifying URI shall be encoded using gmd:citation/gmd:CI_Citation/gmd:identifier/*/gmd:code element with a Non-empty Free Text Element content.

The multiplicity of this element is 1..*.

and (the unclosed Anchor element is there like this in the TG):

/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification:

<gmd:MD_DataIdentification id="md-so-1002001">
  (...)
  <gmd:identifier>
    <gmd:MD_Identifier>
      <gmd:code>
        <gmx:Anchor xlink:href="https://registry.gdi-de.org/id/de.nw/inspire-cp-alkis"</gmx:Anchor>
      </gmd:code>
    </gmd:MD_Identifier>
  </gmd:identifier>
... </gmd:MD_DataIdentification>

It should be discussed in the 2017.4 sub-group what the correct way is to put in the URI (as text, as an Anchor, both, ...)

Please find below:

@PaulaRodrigo-Geograma
Copy link
Contributor

The description of the error has been completed.

It should be clarified if an URI-type identifier is expected as such (see https://inspire.ec.europa.eu/implementation-identifiers-using-uris-inspire-%E2%80%93-frequently-asked-questions/ 59309) or if it is to simply assess what GMD: MD_Identifier is a "Non-empty Free Text Element".

@michellutz
Copy link
Author

The description of the error has been completed.

Have you issued a pull request for this change?

@PaulaRodrigo-Geograma
Copy link
Contributor

The request has been issued.

@michellutz
Copy link
Author

The request has been issued.

Where? I cannot see a PR...

@PaulaRodrigo-Geograma
Copy link
Contributor

The changes in the description of the error are published in the md-tg-2.0 work branch:

https://github.com/inspire-eu-validation/ets-repository/blob/md-tg-2.0/include-metadata/TranslationTemplateBundle-EID70a263c0-0ad7-42f2-9d4d-0d8a4ca71b52.xml#L1218

What branch should a Pull Request be made of? We have not done any with the ETS files so far

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants