Purpose:
Each feed entry in a Download Service Feed shall contain a single dataset feed link. This link shall have a "rel" attribute with a value of "alternate" and a "type" attribute with a value "application/atom+xml".
Test method
- For each entry in the Download Service Feed, check if exactly one dataset feed link is provided
Reference(s):
- TG DL, Req 15
Test type: Automated
Notes
The namespace prefixes used as described in README.md.
Abbreviation | XPath expression |
---|---|
entry | //atom:entry |
dataset feed link | //atom:entry/atom:link[@rel='alternate' and @type='application/atom+xml]/@href |