inspire-eu-validation / discovery-service

Abstract Test Suite for the Technical Guidance for INSPIRE Discovery Services
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

A.03.05.inspire #48

Closed jensscheerlinck closed 8 years ago

jensscheerlinck commented 8 years ago

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685

Comment

Testability: Not testable, as one would need to have the list of all records to verify that 'each resource matching the query' is selected. Notes: The XPATH expression is missing

URL is not descriptive, consider changing to 'inspire.metadata' or 'inspire.md.elements'

Proposed Change

Consider rephrashing purpose to make this testable: 'each resource contained in the response'

Add XPATH reference

PeterParslow commented 8 years ago

Agree that "each resource matching the query" is not testable. However, it is testable that each record in the response "contains at least the INSPIRE metadata elements" (assuming that the CSW request doesn't exclude them, e.g. it follows TG Implementation Recommendation 2 by setting ElementSetName). In order to perform this test using a metadata validator, it will also be necessary to request the response in http://www.isotc211.org/2005/gmd form (outputSchema). It is inappropriate to specify an XPath here - validating the XML returned should be delegated to a metadata validator. Proposed resolution: