Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.74 KB

A.08.IR222.TGR8.linktoOpenSearchDescription.md

File metadata and controls

32 lines (19 loc) · 1.74 KB

Download Service feed contains a link to an OpenSearch Description document

Purpose:

The Download Service feed must provide a link to an OpenSearch Description document, that provides the operations metadata for the Download Service. The value of the 'rel' attribute of this link element must be 'search', the hreflang attribute must use the appropriate language code and the 'type' attribute must be 'application/opensearchdescription+xml'.

Test method

Reference(s):

Test type: Automated

Notes

The hreflang attribute that is referred to in the TG seems to be unnecessary. The MIWP-5 workgroup recommends the TG editors to remove the part regarding the the hreflang attribute from requirement 8.

Contextual XPath references

The namespace prefixes used as described in README.md.

Abbreviation XPath expression
link to OpenSearch description /atom:feed/atom:link[@rel='search' and @type='application/opensearchdescription+xml']/@href
hreflang attribute /atom:feed/atom:link[@rel='search' and @type='application/opensearchdescription+xml']/@hreflang