Skip to content

Commit 42ce92a

Browse files
author
Michael Lutz
authored
Merge pull request #162 from inspire-eu-validation/helpdesk
Helpdesk
2 parents 5eefd52 + c24e21b commit 42ce92a

File tree

3 files changed

+70
-29
lines changed

3 files changed

+70
-29
lines changed

data/interoperability-metadata/ets-md-iop-bsxets.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Source: <a href="http://inspire.ec.europa.eu/id/ats/data/3.0rc3/interoperability
1111
Pre-requisite conformance classes:
1212
<ul><li><a href="http://inspire.ec.europa.eu/id/ats/metadata/1.3/iso-19115-19119" target="_blank">Conformance Class 'INSPIRE Profile based on EN ISO 19115 and EN ISO 19119'</a></li></ul>]]></description>
1313
<reference>../../inspire-md-bsxets.xq</reference>
14-
<version>0.2.2</version>
14+
<version>0.2.3</version>
1515
<author>interactive instruments GmbH</author>
1616
<creationDate>2016-12-07T00:00:00Z</creationDate>
1717
<lastEditor>interactive instruments GmbH</lastEditor>
@@ -162,11 +162,11 @@ let $messages :=
162162
local:addMessage('TR.noEncoding', map { 'filename': local:filename($record), 'id': $rid })
163163
else for $format in $formats
164164
return
165-
(if ($format/gmd:MD_Format/gmd:name/gco:CharacterString) then () else
165+
(if ($format/gmd:MD_Format/gmd:name/*) then () else
166166
local:addMessage('TR.incompleteEncoding', map { 'filename': local:filename($record), 'id': $rid, 'missing': 'name' }),
167-
if ($format/gmd:MD_Format/gmd:version/gco:CharacterString) then () else
167+
if ($format/gmd:MD_Format/gmd:version/*) then () else
168168
local:addMessage('TR.incompleteEncoding', map { 'filename': local:filename($record), 'id': $rid, 'missing': 'version' }),
169-
if ($format/gmd:MD_Format/gmd:specification/gco:CharacterString) then () else
169+
if ($format/gmd:MD_Format/gmd:specification/*) then () else
170170
local:addMessage('TR.incompleteEncoding', map { 'filename': local:filename($record), 'id': $rid, 'missing': 'specification' }))
171171
)[position() le $limitErrors]
172172
return

include-metadata/TranslationTemplateBundle-EID70a263c0-0ad7-42f2-9d4d-0d8a4ca71b52.xml

+22-2
Original file line numberDiff line numberDiff line change
@@ -487,9 +487,14 @@
487487
<TranslationTemplate language="en" name="TR.noDateTypeForSpecification">XML document '{filename}', record '{id}': The metadata record contains a reference to a specification '{specification}', but no dateType of 'creation', 'revision', or 'publication' is provided for it.</TranslationTemplate>
488488
</translationTemplates>
489489
</LangTranslationTemplateCollection>
490-
<LangTranslationTemplateCollection name="TR.noDQDomainConsistencyParent">
490+
<LangTranslationTemplateCollection name="TR.noSpecifications">
491491
<translationTemplates>
492-
<TranslationTemplate language="en" name="TR.noDQDomainConsistencyParent">XML document '{filename}', record '{id}': The metadata record contains a reference to a specification '{specification}', but the specification reference is not a child of a gmd:DQ_DomainConsistency element.</TranslationTemplate>
492+
<TranslationTemplate language="en" name="TR.noSpecifications">XML document '{filename}', record '{id}': The metadata record not contains a reference to a specification.</TranslationTemplate>
493+
</translationTemplates>
494+
</LangTranslationTemplateCollection>
495+
<LangTranslationTemplateCollection name="TR.noBooleanValueForPass">
496+
<translationTemplates>
497+
<TranslationTemplate language="en" name="TR.noBooleanValueForPass">XML document '{filename}', record '{id}': The gmd:DQ_ConformanceResult has an element gmd:pass that must contain a value of type gco:Boolean. This metadata record does not contain such a value.</TranslationTemplate>
493498
</translationTemplates>
494499
</LangTranslationTemplateCollection>
495500
<LangTranslationTemplateCollection name="TR.timePeriodWithInvalidDate">
@@ -532,6 +537,11 @@
532537
<TranslationTemplate language="en" name="TR.invalidDateForThesaurus">XML document '{filename}', record '{id}': The metadata record has keywords which originate from a controlled vocabulary '{thesaurus}', but no date of publication, creation, or revision is provided. The keywords are: {keywords}.</TranslationTemplate>
533538
</translationTemplates>
534539
</LangTranslationTemplateCollection>
540+
<LangTranslationTemplateCollection name="TR.invalidDateForThesaurusGemet">
541+
<translationTemplates>
542+
<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>
543+
</translationTemplates>
544+
</LangTranslationTemplateCollection>
535545
<LangTranslationTemplateCollection name="TR.noTypeFromSpatialDataServiceType">
536546
<translationTemplates>
537547
<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>
@@ -607,6 +617,16 @@
607617
<TranslationTemplate language="en" name="TR.noValidResourceConstraint">XML document '{filename}', record '{id}': No valid resource contraint is provided for this record, but a metadata record must have at least one resource constraint that has a) an access constraint with code list value from ISO 19115, chapter B.5.24 - and, if that value is 'otherRestrictions', it must also have an 'otherConstraints' element with non-empty string content - and/or b) a classification with code list value from ISO 19115, chapter B.5.11.</TranslationTemplate>
608618
</translationTemplates>
609619
</LangTranslationTemplateCollection>
620+
<LangTranslationTemplateCollection name="TR.noDQConformanceResults">
621+
<translationTemplates>
622+
<TranslationTemplate language="en" name="TR.noDQConformanceResults">XML document '{filename}', record '{id}': The metadata record not contains a reference to a gmd:DQ_ConformanceResult element.</TranslationTemplate>
623+
</translationTemplates>
624+
</LangTranslationTemplateCollection>
625+
<LangTranslationTemplateCollection name="TR.noExpectedCitation">
626+
<translationTemplates>
627+
<TranslationTemplate language="en" name="TR.noExpectedCitation">XML document '{filename}', record '{id}': One of the citation elements shall contain title and date of the [Regulation 1089/2010].</TranslationTemplate>
628+
</translationTemplates>
629+
</LangTranslationTemplateCollection>
610630
<LangTranslationTemplateCollection name="TR.noConformityStatement">
611631
<translationTemplates>
612632
<TranslationTemplate language="en" name="TR.noConformityStatement">XML document '{filename}', record '{id}': Each dataset or service metadata record must have a conformity statement, expressed via a domain consistency element with a conformance result. This metadata record does contain such a statement.</TranslationTemplate>

0 commit comments

Comments
 (0)