INSPIRE-MIF / helpdesk-validator

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

AM - competentAuthority.role reported as missing even though the parent attribute is void #943

Closed fabiovinci closed 1 year ago

fabiovinci commented 1 year ago

The validator reports an error in case the role attribute is missing even if the competentAuthority attribute is void.

image

The competentAuthority attribute is mandatory but voidable, so if it is not present in the dataset (i.e. encoded as follow: , for example) the validator should skip the check about the presence of the role attribute (see the related ATS).

arantzaetxebarria commented 1 year ago

Dear @fabiovinci

The solution is present in staging environment, could you please verify that it is working as expected? Thanks

Regards

fabiovinci commented 1 year ago

Dear @arantzaetxebarria,

I tested the fix in staging and it works, so this solution can be included in the next release.