#A.17.IR22.IR23.ds.temporal
Purpose: INSPIRE provides 4 types of temporal reference, which are all conditional elements on their own. However, at least one of them must be provided.
Prerequisites
- A.01.validate must be passed
Test method
The four types of which one must be provided are Temporal extent, Date of publication, Date of last revision and Date of creation. This test performs the following checks:
- Is a valid TimePeriod and does it contain gml:beginPosition and gml:endPosition or gml:begin/gml:timeInstant/gml:timePosition x 2 or gml:begin/gml:timeInstant/gml:timePosition and gml:endPosition or gml:beginPosition and gml:begin/gml:timeInstant/gml:timePosition
- Is a valid date of publication given at dateType='publication'
- Is a valid date of last revision given at dateType='revision'
- Is a valid date of creation given at dateType='creation' The test will fail if and only if all of the above checks evaluate to false.
Reference(s)
Test type: Automated
Notes
##Contextual XPath references
The namespace prefixes used as described in README.md.