Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.55 KB

A.07.TGR7.selfreference.md

File metadata and controls

30 lines (19 loc) · 1.55 KB

Download Service feed contains a self-reference link

Purpose:

The Download Service feed must provide a self-reference link. This link must be a HTTP URI that resolves to the Download Service feed document. The value of the 'rel' attribute of this element shall be 'self', the 'hreflang' attribute shall use the appropriate language code and the value of the 'type' attribute shall be 'application/atom+xml'.

Test method

Reference(s):

Test type: Automated

Notes

Contextual XPath references

The namespace prefixes used as described in README.md.

Abbreviation XPath expression
self link /atom:feed/atom:link[@rel='self' and @type='application/atom+xml']/@href
hreflang attribute /atom:feed/atom:link[@rel='self' and @type='application/atom+xml']/@hreflang
xml:lang attribute /atom:feed/atom:title/@xml:lang