Replies: 3 comments
-
|
Dear @fantamir, I will further analyse the checks carried out by the validator, in the meantime, I can anticipate to you that the function.Function.activity attribute does not have the stereotype "voidable", so it cannot be void. For this reason, the nilReason attribute should not be present inside the function.Function.activity element. Could you please provide a sample GML file you are using for the test? |
Beta Was this translation helpful? Give feedback.
-
|
Dear Fabio, thank you very much for your prompt feedback. INSPIRE validator test report is here: Best wishes |
Beta Was this translation helpful? Give feedback.
-
|
Dear all, |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear colleagues,
The attribute function in the feature type ProductionFacility of the INSPIRE theme III/8 Production and Industrial Facilities should contain URL to relevant NACE code as the preferred choice for European interoperability.
example:
act-core:function
act-core:Function
<act-core:activity xlink:href="https://inspire.ec.europa.eu/codelist/EconomicActivityNACEValue/C.23.51"></act-core:activity>
</act-core:Function>
</act-core:function>
This example is accepted by latest version of INSPIRE validator (implemented at 16th of September) without any problems.
In the dataset I am preparing for INSPIRE purposes, a NACE code is unpopulated for some of spatial objects. Unfortunately, the NACE codelist does not contain any item having value Unpopulated, Unknown or something like that. Therefore, the reasonable solution could be to fill the nilReason parameter of the function.Function.activity attribute in such case, instead of href.
example:
<act-core:activity nilReason="http://inspire.ec.europa.eu/codelist/VoidReasonValue/Unpopulated"></act-core:activity>
Unfortunately, this solution is rejected by INSPIRE validator.
On the other hand, all four examples below are accepted by validator without any problems!!:
<act-core:activity xlink:href="https://inspire.ec.europa.eu/codelist/EconomicActivityNACEValue/"></act-core:activity>
<act-core:activity xlink:href="http://inspire.ec.europa.eu/codelist/VoidReasonValue/Unpopulated"></act-core:activity>
<act-core:activity xlink:href="valueUnpopulated"></act-core:activity>
<act-core:activity xlink:href=""></act-core:activity>
It seems, the validator just tests the presence of href parameter, without checking of its content. This is very strange.
Suggested solution:
or
add a new item containing the value Unpopulated to the NACE codelist, to create the URL https://inspire.ec.europa.eu/codelist/EconomicActivityNACEValue/Unpopulated , which could be used in the href parameter
All spatial objects with missing NACE code value should be deleted from the INSPIRE datasets, because function.Function.activity is a mandatory attribute. Since such deleting would reduce the usability of our dataset, I intend to use <act-core:activity xlink:href="http://inspire.ec.europa.eu/codelist/VoidReasonValue/Unpopulated"></act-core:activity> solution for the time being.
Miroslav Fanta
CENIA, Czech Environmental Information Agency
Beta Was this translation helpful? Give feedback.
All reactions