Abstract Test Suite for Atom Implementation of Pre-defined Dataset Download Service of INSPIRE Download Services Technical Guidance
Note: This ATS is in ready-for-review stage, none of the tests have an official INSPIRE MIG approval.
The following abbreviations are used in the test text for referring to external documents:
Based on requirement numbering in TG DL.
Req# | Description | Covered by test(s) | IR reference(s) |
---|---|---|---|
1 | Datasets as individual entries | A.01.TGR1.separatedatasets | n/a |
2 | Atom specification conformance | A.02.TGR2.conformtoAtomSpecification | n/a |
3 | GeoRSS Simple conformance | A.03.TGR3.conformtoGeoRSS-Simple | n/a |
4 | OpenSearch conformance | A.04.TGR4.conformtoOpenSearch1.1 | n/a |
5 | Download Service Feed title | A.05.IR221.TGR5.feedTitle | IR NS, M1, section 2.2.1 |
6 | Metadata record link for service | A.06.IR511.TGR6.linkToMetadataForTheService | IR NS, M1, section 2.2.1; IR MD, section 2.2.4 |
7 | Download Service Feed self reference | A.07.TGR7.selfreference | n/a |
8 | OpenSearch Description link | A.08.IR222.TGR8.linktoOpenSearchDescription | IR NS, M1, section 2.2.2 |
9 | Download Service Feed ID | A.09.TGR9.feedid | n/a |
10 | Download Service Rights | A.10.IR221.TGR10.rightselement | IR NS, M1, section 2.2.1 |
11 | Download Service Updated | A.11.IR221.TGR11.updatedelement | IR NS, M1, section 2.2.1 |
12 | Download Service Author | A.12.IR221.TGR12.contactinformation | IR NS, M1, section 2.2.1 |
13 | Spatial Data Set identifiers in Service Feed | A.13.IR221.TGR13.datasetidentifiers | IR NS, M1, section 2.2.1 |
14 | Dataset metadata record links in Service Feed | A.14.IR221.TGR14.linksToDatasetMetadata | IR NS, M1, section 2.2.1 |
15 | Dataset Feed links in Service Feed | A.15.TGR15.linkToDatasetFeed | n/a |
16 | WFS Capabilities document link | Not testable | |
17 | Dataset Feed ID in Service Feed | A.16.TGR17.entryHasId | n/a |
18 | Dataset Feed title in Service Feed | A.17.TGR18.entryTitle | n/a |
19 | Dataset Feed Updated element in Service Feed | A.18.TGR19.entryUpdated | n/a |
20 | Dataset CRS category elements in Service Feed | A.19.IR224.TGR20.entryCRS | IR NS, M1, section 2.2.4 |
21 | Dataset Feed title in Dataset Feed | A.20.IR224.TGR21.datasetFeedTitle | IR NS, M1, section 2.2.4 |
22 | Dataset Feed ID in Dataset Feed | A.21.TGR22.datasetFeedId | n/a |
23 | Dataset Feed Rights in Dataset Feed | A.22.IR221.TGR23.datasetFeedRights | IR NS, M1, section 2.2.1 |
24 | Dataset Updated in Dataset Feed | A.23.IR221.TGR24.datasetFeedUpdated | IR NS, M1, section 2.2.1 |
25 | Dataset Author in Dataset Feed | A.24.IR221.TGR25.datasetFeedContactinformation | IR NS, M1, section 2.2.1 |
26 | Dataset content entry | A.25.IR31.TGR26.datasetFeedDownloadLink | IR NS, M1, section 3.1 |
27 | Dataset format/CRS specific content entries | A.26.IR313.TGR27.separateEntriesCRSFormat | IR NS, M1, section 3.1.3 |
28 | Dataset Spatial Object Type link | A.27.IR4.TGR28.spatialObjectType | IR NS, M1, section 4 |
29 | Dataset entry content links | A.28.IR31.TGR29.datasetFeedDownloadLinkDetails | IR NS, M1, section 3.1 |
30 | Dataset entry content media type | A.28.IR31.TGR29.datasetFeedDownloadLinkDetails | n/a |
31 | Dataset entry content language | A.29.IR311.TGR31.languageForDownloadLink | IR NS, M1, section 3.1.1 |
32 | Sectioned dataset entry links | A.30.TGR32.downloadMultipleFiles | n/a |
33 | Sectioned dataset structure | A.31.TGR33.downloadMultipleFilesGuidance | n/a |
34 | Only INSPIRE media types allowed | A.32.TGR34.INSPIREmediaTypesOnly | n/a |
35 | Dataset CRS category elements in Dataset Feed | A.33.IR224.IR313.TGR35.categoryLabelCRS | IR NS, M1, section 3.1.3 |
36 | Alternate languages in Service Feed | Not testable | n/a |
37 | Language request parameter | Not testable | n/a |
38 | Alternate language feed interlinking | Not testable | n/a |
39 | OpenSearch Description document | A.08.IR222.TGR8.linktoOpenSearchDescription and A.36 - A.40 | IR NS, M1, section 2.2.2 |
40 | OpenSearch Description self reference | A.35.TGR40.openSearchSelfreference | n/a |
41 | OpenSearch Generic search results URL template | A.36.TGR41.openSearchGenericSearchQueries | n/a |
42 | OpenSearch Describe Spatial Data Set Operation template | A.37.IR4.TGR42.openSearchUrlDescribeSpatialDataset | IR NS, M1, section 4 |
43 | OpenSearch Get Spatial Data Set Operation template | A.38.IR3.TGR43.openSearchUrlGetSpatialDataset | n/a |
44 | OpenSearch Spatial Data Set IDs as example queries | A.39.IR3.IR4.TGR44.openSearchQueryExample | IR NS, M1, section 4 |
45 | OpenSearch supported languages | A.40.IR311.IR411.TGR45.openSearchLanguages | IR NS, M1, section 4.1.1 |
This Conformance Class contains the following tests:
-
Is it allowed for more than one Download Service Feed to point to the same Dataset Feed? If yes, and if these Download Service Feeds contain different entries pointing to this Dataset Feed, which parent feed should be used for validation? One example for the possible conflict would be different CRS categories in the Download Service Feed entries.
-
Should it be allowed for the Dataset Feed to additionally contain download links to files containing the data in other CRSes than the ones mentioned in it's parent Download Service Feed, or should the CRS (category) list in the Download Service Feed entry and the corresponding Dataset Feed match exactly?
-
Is the hreflang attribute mandatory in the Dataset Feed link entries event if the data is provided only in a single language? If so, the test A.29.IR311.TGR31.languageForDownloadLink is not automatically testable and the should be removed.
The following prefixes are used to refer to the corresponding XML namespaces in all test descriptions:
Prefix | Namespace |
---|---|
atom | http://www.w3.org/2005/Atom |
georss | http://www.georss.org/georss |
gmd | http://www.isotc211.org/2005/gmd |
inspire_common | http://inspire.ec.europa.eu/schemas/common/1.0 |
inspire_dls | http://inspire.ec.europa.eu/schemas/inspire_dls/1.0 |
os | http://a9.com/-/spec/opensearch/1.1/ |
xlink | http://www.w3.org/1999/xlink |
xml | http://www.w3.org/XML/1998/namespace |