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

Incorrect XPaths in ATCs: download links without length attributes are not respected #78

Open jonherrmann opened 6 years ago

jonherrmann commented 6 years ago

Expressions like: //atom:entry/atom:link[(@rel='alternate' and @type!='application/atom+xml' and number(@length) > 0) or (@rel='section')]

are incorrect as TG Requirement 29 states that a length attribute (providing the length of the linked resource in octets) shall be provided if possible.

Currently, download links without length attributes are filtered and not respected in these ATCs: