{"action":"opened","issue":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/3290","repository_url":"https://api.github.com/repos/geonetwork/core-geonetwork","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/3290/labels{/name}","comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/3290/comments","events_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/3290/events","html_url":"https://github.com/geonetwork/core-geonetwork/issues/3290","id":383545115,"node_id":"MDU6SXNzdWUzODM1NDUxMTU=","number":3290,"title":"INSPIRE dataset feeds generated with atom.predefined.dataset service doesn't validate:  Each feed shall contain an Atom 'link' element for each INSPIRE Spatial Object Type in the dataset.","user":{"login":"josegar74","id":1695003,"node_id":"MDQ6VXNlcjE2OTUwMDM=","avatar_url":"https://avatars3.githubusercontent.com/u/1695003?v=4","gravatar_id":"","url":"https://api.github.com/users/josegar74","html_url":"https://github.com/josegar74","followers_url":"https://api.github.com/users/josegar74/followers","following_url":"https://api.github.com/users/josegar74/following{/other_user}","gists_url":"https://api.github.com/users/josegar74/gists{/gist_id}","starred_url":"https://api.github.com/users/josegar74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegar74/subscriptions","organizations_url":"https://api.github.com/users/josegar74/orgs","repos_url":"https://api.github.com/users/josegar74/repos","events_url":"https://api.github.com/users/josegar74/events{/privacy}","received_events_url":"https://api.github.com/users/josegar74/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones/30","html_url":"https://github.com/geonetwork/core-geonetwork/milestone/30","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones/30/labels","id":3405047,"node_id":"MDk6TWlsZXN0b25lMzQwNTA0Nw==","number":30,"title":"3.6.0","description":"","creator":{"login":"fgravin","id":1491924,"node_id":"MDQ6VXNlcjE0OTE5MjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1491924?v=4","gravatar_id":"","url":"https://api.github.com/users/fgravin","html_url":"https://github.com/fgravin","followers_url":"https://api.github.com/users/fgravin/followers","following_url":"https://api.github.com/users/fgravin/following{/other_user}","gists_url":"https://api.github.com/users/fgravin/gists{/gist_id}","starred_url":"https://api.github.com/users/fgravin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgravin/subscriptions","organizations_url":"https://api.github.com/users/fgravin/orgs","repos_url":"https://api.github.com/users/fgravin/repos","events_url":"https://api.github.com/users/fgravin/events{/privacy}","received_events_url":"https://api.github.com/users/fgravin/received_events","type":"User","site_admin":false},"open_issues":99,"closed_issues":157,"state":"open","created_at":"2018-06-06T14:07:15Z","updated_at":"2018-11-22T13:52:30Z","due_on":"2018-11-15T08:00:00Z","closed_at":null},"comments":0,"created_at":"2018-11-22T13:52:30Z","updated_at":"2018-11-22T13:52:30Z","closed_at":null,"author_association":"MEMBER","body":"The problem is relate to this code adding the metadata dataset link in the dataset downloads:\r\n\r\nhttps://github.com/geonetwork/core-geonetwork/blob/master/schemas/iso19139/src/main/plugin/iso19139/convert/ATOM/inspire-atom-feed.xsl#L347-L351\r\n\r\n2 fixes required:\r\n\r\n1) It should be added at the ATOM Feed level, not in the dataset downloads. In the download, I guess should be added a link to the download, not to the dataset.\r\n\r\n2) The link should be `text/html` instead of `application/xml`. An option would be to link to the static metadata html formatter:\r\n\r\n```\r\n<feed xmlns=\"http://www.w3.org/2005/Atom\" xmlns:inspire_dls=\"http://inspire.ec.europa.eu/schemas/inspire_dls/1.0\" xmlns:gml=\"http://www.opengis.net/gml\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:georss=\"http://www.georss.org/georss\" xmlns:opensearch=\"http://a9.com/-/spec/opensearch/1.1/\" xmlns:opensearchextensions=\"http://example.com/opensearchextensions/1.0/\" xsi:schemaLocation=\"http://www.w3.org/2005/Atom http://inspire-geoportal.ec.europa.eu/schemas/inspire/atom/1.0/atom.xsd\" xml:lang=\"en\">\r\n  <title>\r\n  INSPIRE Dataset ATOM feed: BORIS - Bodeninformationssystem Österreich\r\n  </title>\r\n  <subtitle>INSPIRE Dataset ATOM feed:</subtitle>\r\n  <link rel=\"describedby\" type=\"text/html\" \r\n        href=\"http://SERVER/geonetwork/srv/api/records/b0ab02b4-f172-41fb-ade8-cc3c46b322df\"/>\r\n```\r\n "}}
{"actor":{"display_login":"josegar74"}}