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.
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