inspire-eu-validation / download-service

Abstract Test Suite for the Technical Guidance for the implementation of INSPIRE Download Services
Creative Commons Zero v1.0 Universal
2 stars 4 forks source link

validation question for link to metadata record for the download service #91

Open mhogeweg opened 6 years ago

mhogeweg commented 6 years ago

I have a simple test feed (http://gptogc.esri.com/inspire/) that failed this clause https://github.com/inspire-eu-validation/download-service/blob/3.1/atom-pre-defined/download-service-feed-link-to-metadata-record.md

it appears to me that this test for the link to the feed service grabs the first link. in my metadata the link to the feed service was the second and my feed failed this assertion. after removing 'the other' link, it passed the assertion. if the first link needs to be the one to the download service feed, this xpath could be made more explicit. if not, the test needs to be updated. Also, the link itself is in the gmd:URL element inside gmd:linkage. Could be added to the xpath in the page.

//gmd:distributionInfo//gmd:transferOptions//gmd:onLine/*/gmd:linkage