Closed MarcoMinghini closed 4 years ago
Dear @MarcoMinghini
Thank you for opening this issue.
We will change the error message and let you know when ready for testing.
Regards
Dear @MarcoMinghini
The issue has been addressed and it is ready for testing in staging instance.
Could you please check it and provide us feedback?
Regards
Dear @danielnavarrogeo, I tested the metadata and the error message is now better. To help users locate the error and change the metadata, I would suggest if possible to add the codelist value that was found in the metadata instead of the expected one, for example in this case "... must include "otherRestrictions" as CodeListValue, but it was found "copyright" ".
In other tests, the value found in the metadata is provided in the error message so I assume this can be done here as well. Thank you.
Dear @MarcoMinghini
Thank you for your feedback. We will provide the value found in the error message and let you know when it is ready for testing.
Regards
Dear @MarcoMinghini
We have added the found value in the error message.
Could you check it in staging instance and provide us feedback?
Regards
I confirmed that the error message is now more comprehensive and useful for the user to fix the metadata. Thanks for changing it.
Thank you @MarcoMinghini for your feedback.
Regards
When validating the attached metadata record against conformance class Common Requirements for ISO/TC 19139:2007 based INSPIRE metadata records (MD TG 2.0), test on Requirement C.18 Conditions for Access and Use fails with the following error message:
The metadata record set has 1 record(s) with errors for this assertion. XML document '3.iso19139.xml', record 'ES_SDGC_BU': No resource constraint conditions is provided for this record. If "http(s)://inspire.ec.europa.eu/metadata-codelist/ConditionsApplyingToAccessAndUse/" link is provided, please check if this is pointing to"noConditionsApply" or to "conditionsUnknown".
This error message is not correct, because the condition is provided and the metadata correctly includes the codelist
http(s)://inspire.ec.europa.eu/metadata-codelist/ConditionsApplyingToAccessAndUse/
with valuenoConditionsApply
.The reason of the fact that the test fails is rather the wrong codelist value for the codelist
http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode
in the elementgmd:MD_RestrictionCode
. According to Requirement C.18, the only allowed value isotherRestrictions
, but the metadata has a valuecopyright
.If this codelist value is changed to
otherRestrictions
, the metadata correctly passes validation, which means that the test is implemented correctly but the error message is not, and should be changed.3.iso19139.xml.zip