inspire-eu-validation / download-service

Abstract Test Suite for the Technical Guidance for the implementation of INSPIRE Download Services
Creative Commons Zero v1.0 Universal
2 stars 4 forks source link

A.11.IR221.TGR11.updatedelement, A.23.IR221.TGR24.datasetFeedUpdated #61

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

'... or too far in the past' is vague for testing.

Proposed Change

Change to '... or before 2012 (first release of the Technical Guidance)'?

thijsbrentjens commented 8 years ago

This makes sense. Agreed.

thijsbrentjens commented 8 years ago

Taken from #69: align the test with A.18.TGR19.entryUpdated.

Change the test method in:

  • check if the updated element provides a valid date
  • the date must not be in the future or before the year 2012

And use this XPath function to test a valid date:

year-from-dateTime(xs:dateTime(/atom:feed/atom:updated))