Skip to content
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

Failed validation of voidable LC nomenclatur elements embedded/external description #969

Closed
FrLemmel opened this issue Jun 28, 2023 · 2 comments
Assignees
Labels
user-fixed Problem solved on user side

Comments

@FrLemmel
Copy link

Hi,

I am currently trying to validate a preliminary GML for AII LCV data. I run into the issue that the validator reports a missing embedded or external description when testing against the LCN schema.
Looking at the UML Model it becomes apparent, that these elements are voidable. Hence, I am a bit confused on how to solve this issue and make the GML valid. The attached zip contains the .gml file currently tested.

lc_to_gml.zip

And here is the latest test report:
https://inspire.ec.europa.eu/validator/test-run/details.html?id=EID7d47d0ee-98dd-4a97-a9ca-36296c2a08e5

There is also the error of GML and INSPIRE GML Application Schema validation. Might this be in relation to the above mentioned error ?

Unfortnuately I cannot run any tests in the staging environment, as I am not prompted further after setting al the parameters.

@fabiovinci
Copy link
Collaborator

Dear @FrLemmel,

I had a look at your dataset and it contains the following errors:

  1. Dates of the beginLifespanVersion attribute are wrong because the dataType of this eleemnt is dateTime, so they should have the following format: 2018-05-20T00:00:00
  2. The schemaLocation attribute should contain the declaration of the gml schema since the validator is not able to retrieve it from the INSPIRE schema, so it should be: xsi:schemaLocation="http://inspire.ec.europa.eu/schemas/lcv/4.0 http://inspire.ec.europa.eu/schemas/lcv/4.0/LandCoverVector.xsd http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd">
  3. The embedded description OR the external description shall be provided. Even if the two attributes are voidable and have multiplicity equal to zero, there is a constraint that requires one of the two (see screenshot below).

image

I hope that this helps to clarify.

@fabiovinci fabiovinci added the user-to-fix Problem is present on user side label Jun 28, 2023
@FrLemmel
Copy link
Author

Thanks @fabiovinci for clarification. I will try to implement it in the following days and re-check with the validator. If needed I will come back to this ticket or close it when being successful.

@fabiovinci fabiovinci added user-fixed Problem solved on user side and removed user-to-fix Problem is present on user side labels Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user-fixed Problem solved on user side
Projects
None yet
Development

No branches or pull requests

2 participants