-
Notifications
You must be signed in to change notification settings - Fork 22
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 v2.0 C.21: Conformity specification #139
Comments
Dear Davide, Thank you for your comment. You are right, the test should check that the title is not empty as well. We will modify the test and let you know when available in staging for testing. Regards |
Dear Davide, The test now checks if the title is a non-empty free text. You can try it in the staging environment. Regards |
Thanks, I will try and give you a feedback. Regards, |
Dear Daniel, after some tests, I found other problems within your fix. Regards, |
Dear Davide, The test has been modified according to your suggestions. You can now test it in the staging environment. Regards |
Dear @dartasensi, Does the solution that @danielnavarrogeo provide work? Best regard. |
Dear @dartasensi we are planning a release soon and we would like to include this issue on the next milestone. Could you let us know if the solution implemented works as expected? Regards |
After some internal tests, we checked that everything is working fine, so we will mark as solved this issue. Best regards. |
I can confirm that the issue was solved. |
Hi,
During an analysis of this requirement, I think I found a missed check in the XQuery procedure, that could lead to false negative errors in validation.
The requirement says:
The title shall be given using the gmd:title child element of the citation element with a Non-empty Free Text Element content. For the INSPIRE Implementation Rule documents the value of the title element shall match exactly the official title of the cited document in the language of the metadata.
But the XQuery seems to check only for the presence of the gmd:title element, and no other checks are made on its children (refer to TG Req C.4 about the Free Text element).
https://github.com/inspire-eu-validation/ets-repository/blob/f38e7964888ce37a547ccb2a15966c56aba5a494/metadata/2.0/common/ets-md-common-bsxets.xml#L894
I've altered the reference sample of MD 2.0, introduced the error of empty title.
Tested against the production and staging validator, it wrongly pass the test with SUCCESS.
To reproduce:
Best regards,
Davide Artasensi
The text was updated successfully, but these errors were encountered: