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

INSPIRE LC - validator test driver returns error #1132

Open
antjacques opened this issue Nov 4, 2024 · 4 comments
Open

INSPIRE LC - validator test driver returns error #1132

antjacques opened this issue Nov 4, 2024 · 4 comments
Assignees

Comments

@antjacques
Copy link

Dear helpdesk,

I'm struggling with the validator since this afternoon, I tried both staging and prod instances. I have actually 2 issues:

  1. When trying to test dataset validity, I get an "Error 413" message when uploading a GML bigger than 1Mb
    image

  2. I'd like to test landcover GMLs but I got several errors. First the "Data consistency, Land Cover" returns an internal error. Second, the dataset fails the basic test of the application schema LC.
    It seems that I have to reference an element //schema-element(lcv:LandCoverDataset) which is actually present in my GML (see attached files below: test and GML smaller than 1Mb).

Thanks for your time!

LC_INSPIRE_validation.zip

@JohannaOtt
Copy link

I can copy that - not only for LC but also for testing for example GE Geophysics data.
Please let us know when the data upload will be available again.

@fabiovinci
Copy link
Collaborator

Dear @antjacques,

we will check the error with the upload and fix it as soon as possible.

Regarding the second error, your dataset fails the basic test because the official version of the LCV schema is now version 5.
The dataset contains the lcv:LandCoverDataset feature type but it is not recognised by the validator due to the different namespace version.

In you upgarde the dataset to version 5 it validates (see report https://inspire.ec.europa.eu/validator/test-run/details.html?id=EID610a0c22-0344-42c9-9efc-0b6b340553c1).
This is the sample dataset I used for testing: LC.LISL-LandCover2021_Vianden_v5.gml.zip

@fabiovinci fabiovinci moved this from To do to In progress in Validator issues Nov 6, 2024
@fabiovinci fabiovinci moved this from In progress to To do in Validator issues Nov 7, 2024
@antjacques
Copy link
Author

antjacques commented Nov 7, 2024

Hello @fabiovinci, thanks for your insight.

Sorry, I thought that application schema v4.0 were supposed to still be valid until next year. Am I wrong?

I adapted my FME process to include new version 5.0. However, I end up with lcv:extent and lcv:nomenclatureDocumentation being encapsulated in a v4.0 tag (see screenshot and associated zip) which end up in a validator error.
Might it be linked to the XSD or more likely an issue with the FME writer?

image
LC.LISL-LandCover2021_Vianden.gml.zip

Thanks for you time

@fabiovinci
Copy link
Collaborator

Dear @antjacques,

Sorry, I thought that application schema v4.0 were supposed to still be valid until next year. Am I wrong?

No, it is correct, they are still valid but you will receive, in any case, an error in the validator (also in the test "Validation against INSPIRE official schema").

As for the incorrect encoding, it looks like a FME issue, the application schema should work fine, also because no v4 schema is imported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

4 participants