Skip to content

Commit

Permalink
Merge pull request #176 from inspire-eu-validation/helpdesk-issue-30-ETS
Browse files Browse the repository at this point in the history
Helpdesk - Issue #30 (the presence of the specification element in the encoding metadata element is no longer required)
  • Loading branch information
Michael Lutz authored Sep 9, 2018
2 parents 42ce92a + fb0ce3c commit ddaf434
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions data/interoperability-metadata/ets-md-iop-bsxets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,7 @@ let $messages :=
(if ($format/gmd:MD_Format/gmd:name/*) then () else
local:addMessage('TR.incompleteEncoding', map { 'filename': local:filename($record), 'id': $rid, 'missing': 'name' }),
if ($format/gmd:MD_Format/gmd:version/*) then () else
local:addMessage('TR.incompleteEncoding', map { 'filename': local:filename($record), 'id': $rid, 'missing': 'version' }),
if ($format/gmd:MD_Format/gmd:specification/*) then () else
local:addMessage('TR.incompleteEncoding', map { 'filename': local:filename($record), 'id': $rid, 'missing': 'specification' }))
local:addMessage('TR.incompleteEncoding', map { 'filename': local:filename($record), 'id': $rid, 'missing': 'version' }))
)[position() le $limitErrors]
return
(if ($messages) then 'FAILED' else 'PASSED',
Expand Down

0 comments on commit ddaf434

Please sign in to comment.