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

Metadata dataset: Resource Locator / Check that at least one resource locator is defined. #95

Open
fxprunayre opened this issue Jul 31, 2019 · 2 comments
Labels
discussion This is a discussion about the Validator, any comment is welcome

Comments

@fxprunayre
Copy link

"A Resource locator linking to the service(s) providing online access to the described data set or data set series shall be given, if such online access is available." does not mean that all gmd:onLine/gmd:URL have to be "valid" URLs.

Report about the expression used to check the URL as it is a bit
restricted vision of what an URL is eg. file://, jdbc://, PRL starting
with // are not considered valid.

Proposal:

  • Check that at least one URL is following the expected pattern
  • If none found, report error with the pattern used

Changes available in inspire-eu-validation/ets-repository@144aaad

When no valid URL provided, then message is now:

XML document 'file.xml', record 'c651bc41-d5da-49de-ba47-c51eabbb2007': No online source
 element found in the record following the rule 
'(http://|https://|ftp://)([a-z0-9]{1})((\.[a-z0-9-])|([a-z0-9-]))*\.([a-z0-9-]{1,4})(/?)'.

Relates to inspire-eu-validation/ets-repository#315

@michellutz
Copy link

I am not sure about this change proposal. Given that there are on-going discussions in the MIG about using the resource locator element more extensively, I think this should be discussed with the 2017.4 sub-group.

@michellutz michellutz added the for-2017.4-discussion This issue will be discussed with the sub-group 2017.4 label Aug 7, 2019
@jmrubio82
Copy link

Hi,
I understand this is still not yet solved or fully addressed, considering our current discussions about the use of resource locator and the alternative linking approach, but has there been any advance on this particular issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion This is a discussion about the Validator, any comment is welcome
Projects
None yet
Development

No branches or pull requests

4 participants