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

Species Distribution - field localspeciesname Validator error #1028

Closed
CristinaMSL opened this issue Feb 19, 2024 · 6 comments
Closed

Species Distribution - field localspeciesname Validator error #1028

CristinaMSL opened this issue Feb 19, 2024 · 6 comments
Assignees
Labels
deployed in reference validator Solution deployed in production
Milestone

Comments

@CristinaMSL
Copy link

Dear INSPIRE Support,

I have a question regarding the schema of SD (Species distibution), in theory localspeciesname is nil reason, and I have the following dataset:

imagen1

Then the validator through an error asking for the xref

imagen2

What can I do to have my date validated? I am using HALE Studio and the official schema to do my transformation.

Regards

@github-actions github-actions bot added this to To do in Validator issues Feb 19, 2024
@fabiovinci
Copy link
Collaborator

fabiovinci commented Feb 19, 2024

Dear @CristinaMSL,

the error should be related to the attribute localSpeciesId whose data type is the codelist LocalSpeciesNameCodeValue (related ATS).

It seems that the Validator should not raise an error since the attribute is voidable and with multiplicity 0..1.

As a temporary workaround, could you please try to remove the attribute localSpeciesId and re-validate it?
If you send us the gml sample, we can take a look.

@fabiovinci fabiovinci added the question Further information is requested label Feb 19, 2024
@CristinaMSL
Copy link
Author

Hello fabiovinci.

Thanks for your response. Could you provide us an email accout to share the gml file with you?

@fabiovinci
Copy link
Collaborator

Hi @CristinaMSL,

you can use the email that is available in my GitHub profile.

@CristinaMSL
Copy link
Author

Thank you. I'll send you an email.

@fabiovinci
Copy link
Collaborator

Dear @CristinaMSL,

I confirm that the error is related to the attribute localSpeciesId when it is encoded as below:

<sd:localSpeciesId xsi:nil="true"/>

The Validator should skip the test related to the presence of the xlink:href attribute since it is void. We will fix the error asap.

In the meantime, to obtain a 100% valid report you can remove the attribute since it is void and the multiplicity is 0..1 or add a nilReason:

<sd:localSpeciesId nilReason="http://inspire.ec.europa.eu/codelist/VoidReasonValue/Unknown" xsi:nil="true"/>

In the latter case, the Validator correctly recognizes the element as void.

@fabiovinci fabiovinci assigned dperezBM and unassigned CristinaMSL Feb 20, 2024
@fabiovinci fabiovinci added under development and removed question Further information is requested labels Feb 20, 2024
@MarcoMinghini MarcoMinghini moved this from To do to In progress in Validator issues Feb 20, 2024
@fabiovinci fabiovinci added this to the v2024.1 milestone May 7, 2024
@fabiovinci fabiovinci added ready for testing Solution provided to reporter or developed & deployed in staging (or beta), waiting for testing and removed under development labels May 7, 2024
@MarcoMinghini MarcoMinghini moved this from In progress to Staging: for acceptance in Validator issues May 7, 2024
@fabiovinci
Copy link
Collaborator

Dear @CristinaMSL,

the solution is available in staging, I tested it and it works fine (see report).
Can you check it too, please?

@fabiovinci fabiovinci added solved Solution developed and accepted, not yet deployed and removed ready for testing Solution provided to reporter or developed & deployed in staging (or beta), waiting for testing labels May 8, 2024
@MarcoMinghini MarcoMinghini moved this from Staging: for acceptance to Staging: in release planning in Validator issues May 8, 2024
@fabiovinci fabiovinci added deployed in reference validator Solution deployed in production and removed solved Solution developed and accepted, not yet deployed labels May 10, 2024
@MarcoMinghini MarcoMinghini moved this from Staging: in release planning to Production: latest release in Validator issues May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed in reference validator Solution deployed in production
Projects
Validator issues
  
Production: latest release
Development

No branches or pull requests

3 participants