INSPIRE-MIF / helpdesk-validator

Community discussion forum for INSPIRE validation issues
42 stars 23 forks source link

Validation Predefined Atom Feed #709

Open manilly opened 2 years ago

manilly commented 2 years ago

Hi, I tried to validate a pre-defined atom feed with the ETF Validator and are having some troubles with the results.

Tested Atomfeed: https://geometadatensuche.inspire.gv.at/metadatensuche/srv/atom/describe/service?uuid=4b3d8a60-20a2-4cc8-a343-2ac31bf6ce50 Test report: https://inspire.ec.europa.eu/validator/test-run/details.html?id=EID04feb605-94b3-4e03-93c6-e05dbcbf6f0a

Most of the tests appear to be skipped despite the dependencies are OK.

image

Can you investigate this issue please?

Thanks, Manuel

fabiovinci commented 2 years ago

Dear @manilly,

thank you for the issue. We will analyze in detail why the tests are skipped.

manilly commented 2 years ago

Hi, the problem with the skipped tests don't exist in our local ETF instance. However there is a bug/Issue, when testing atom feeds. The self-reference linke is not recognized.

Tested service: https://geometadatensuche.inspire.gv.at/metadatensuche/srv/atom/describe/service?uuid=bea12cac-1c68-4e07-9a40-d0e765185a27&language=de Test report URL: https://inspire.agrarforschung.at/test-reports/details.html?id=EID76889704-cea2-4bbf-bb93-345c07389147

See AtomFeed with link (rel=self, type=application/atom+xml, hreflang=de) - except the ampersand is exited with &: image

And error message from report: image

arantzaetxebarria commented 2 years ago

Dear @manilly

Regarding the bug/issue in your local instance, we have seen that the link that is present in the service "https://geometadatensuche.inspire.gv.at/metadatensuche/srv/atom/describe/service?uuid=bea12cac-1c68-4e07-9a40-d0e765185a27&language=de" is not exactly the same as the Download Service feed URI, We think that maybe differences between "&" and "&" can be the reason for this error. Could you try to change the URL of your service to https://geometadatensuche.inspire.gv.at/metadatensuche/srv/atom/describe/service?uuid=bea12cac-1c68-4e07-9a40-d0e765185a27&language=de and validate it again in your local environment, please?

Regards,

manilly commented 2 years ago

I tried to test the ATOM Feed with URL https://geometadatensuche.inspire.gv.at/metadatensuche/srv/atom/describe/service?uuid=bea12cac-1c68-4e07-9a40-d0e765185a27&language=de

This doesn't change anything, since it seems the validator is translating the &amp as normal & Furthermore it seems the order of the parameters are changed during the test. The test-URL was: https://geometadatensuche.inspire.gv.at/metadatensuche/srv/atom/describe/service?uuid=bea12cac-1c68-4e07-9a40-d0e765185a27&language=de

The "tested URL" is: https://geometadatensuche.inspire.gv.at/metadatensuche/srv/atom/describe/service?language=de&uuid=bea12cac-1c68-4e07-9a40-d0e765185a27 (see https://inspire.agrarforschung.at/validator/v2/TestRuns/EIDc62803b0-f22b-45be-ad91-e67ecf6e888b.html)

manilly commented 2 years ago

image