INSPIRE-MIF / helpdesk-validator

Community discussion forum for INSPIRE validation issues
41 stars 22 forks source link

INSPIRE Reference Validator: drinkingWaterProtectionArea #1040

Closed HelmoetOrdina closed 3 months ago

HelmoetOrdina commented 3 months ago

Hi, I tried to test one of my INSPIRE files using the INSPIRE Reference Validator and it complains (among others):

The property 'zoneType' has a value 'drinkingWaterProtectionArea' that cannot be retrieved using HTTP.

But that's just the definition as is mentioned in https://inspire-mif.github.io/uml-models/approved/html/EARoot/EA2/EA3/EA3/EA1/EA8241.htm

So, why does the test complain?

Please find attached the file and the testing report. 20240306_test_inspire_reference_validator.zip

Thank you for being patient on a relatively newbee on the INSPIRE front...

fabiovinci commented 3 months ago

Dear @HelmoetOrdina,

to get more information about a specific Validator test, you can have a look at its ATS (Abstract Test Suite) linked in the test report.

image

In particular, for the elements for which the datatype is a codelist you need to use the link of the related codelist value available in an online registry.

image

So, in your case, you should encode the element as follows:

<am:zoneType xlink:href="http://inspire.ec.europa.eu/codelist/ZoneTypeCode/drinkingWaterProtectionArea"
                xlink:title="drinkingWaterProtectionArea"/>
HelmoetOrdina commented 3 months ago

Hi Fabio, thank you very much, I'll check and correct it.