Skip to content

Commit

Permalink
Revert "Modifications in the ETS to solve the issue #180"
Browse files Browse the repository at this point in the history
This reverts commit bb1e1c1.
  • Loading branch information
inakidiazdecerio committed Apr 10, 2019
1 parent 717c46f commit 440da6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,6 @@
<TranslationTemplate language="en" name="TR.invalidDateForThesaurusGemet">XML document '{filename}', record '{id}': The metadata record has keywords which originate from a controlled vocabulary 'GEMET - INSPIRE themes, version 1.0', but the date or date type is not correct. Date should be '2008-06-01' and date type 'publication'. The keywords are: {keywords}.</TranslationTemplate>
</translationTemplates>
</LangTranslationTemplateCollection>
<LangTranslationTemplateCollection name="TR.emptyDateTypeCode">
<translationTemplates>
<TranslationTemplate language="en" name="TR.emptyDateTypeCode">XML document '{filename}', record '{id}': The metadata record has keywords which originate from a controlled vocabulary 'GEMET - INSPIRE themes, version 1.0', but the gmd:CI_DateTypeCode element is empty. The keywords are: {keywords}.</TranslationTemplate>
</translationTemplates>
</LangTranslationTemplateCollection>
<LangTranslationTemplateCollection name="TR.noTypeFromSpatialDataServiceType">
<translationTemplates>
<TranslationTemplate language="en" name="TR.noTypeFromSpatialDataServiceType">XML document '{filename}', record '{id}': Every service metadata record must have a service type that is one of the codes from the code list at {url}. Found: {type}.</TranslationTemplate>
Expand Down
5 changes: 1 addition & 4 deletions metadata/iso/ets-md-iso-bsxets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Source: <a href="http://inspire.ec.europa.eu/id/ats/metadata/1.3/iso-19115-19119
Pre-requisite conformance classes:
<ul><li><a href="http://inspire.ec.europa.eu/id/ats/metadata/1.3/xml-encoding" target="_blank">Conformance Class 'XML encoding of ISO 19115/19119 metadata'</a></li></ul>]]></description>
<reference>../../inspire-md-bsxets.xq</reference>
<version>0.2.9</version>
<version>0.2.7</version>
<author>interactive instruments GmbH</author>
<creationDate>2016-08-30T00:00:00Z</creationDate>
<lastEditor>interactive instruments GmbH</lastEditor>
Expand Down Expand Up @@ -1272,8 +1272,6 @@ let $messages :=
local:addMessage('TR.noKeywordFromINSPIREThemes', map { 'filename': local:filename($record), 'id': $rid, 'url': $inspireThemesCodeListURL, 'keywords': fn:string-join($relevantDescriptiveKeywordsBlocks/gmd:keyword/*/text(),'; ') })
else if (not($hasExpectedDate)) then
local:addMessage('TR.invalidDateForThesaurusGemet', map { 'filename': local:filename($record), 'id': $rid, 'keywords' : fn:string-join($relevantDescriptiveKeywordsBlocks/gmd:keyword/*/text(),'; ') })
else if (string-length(normalize-space($relevantDescriptiveKeywordsBlocks/gmd:thesaurusName/*/gmd:date/*/gmd:dateType/*/text())) = 0) then
local:addMessage('TR.emptyDateTypeCode', map { 'filename': local:filename($record), 'id': $rid, 'keywords' : fn:string-join($relevantDescriptiveKeywordsBlocks/gmd:keyword/*/text(),'; ') })
else ()
)[position() le $limitErrors]
} catch * {
Expand All @@ -1288,7 +1286,6 @@ return
<translationTemplates>
<translationTemplate ref="TR.noKeywordFromINSPIREThemes"/>
<translationTemplate ref="TR.invalidDateForThesaurusGemet"/>
<translationTemplate ref="TR.emptyDateTypeCode"/>
<translationTemplate ref="TR.recordsWithErrors"/>
</translationTemplates>
</TestAssertion>
Expand Down

0 comments on commit 440da6d

Please sign in to comment.