Purpose:
The dataset feed must provide at least one feed entry with links to download the pre-defined dataset (e.g. as a GML file).
Test method
- test if at least one feed entry is available with at least one link to download a file
- resolve all links to download in the dataset feed.
Reference(s):
Test type:
Automated
Notes
[1] when resolving the links, HTTP codes for success are: 200,301,302,303 [2] it is up to the implementing tool to decide to use HTTP GET or HTTP HEAD.
The namespace prefixes used as described in README.md.
Abbreviation | XPath expression |
---|---|
entry | //atom:entry |
link to download | //atom:entry/atom:link[(@rel='alternate' and @type!='application/atom+xml' and number(@length) > 0) or (@rel='section')] |