Skip to content

Commit

Permalink
Merge pull request #162 from inspire-eu-validation/helpdesk
Browse files Browse the repository at this point in the history
Helpdesk
  • Loading branch information
Michael Lutz authored Sep 4, 2018
2 parents 5eefd52 + c24e21b commit 42ce92a
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 29 deletions.
8 changes: 4 additions & 4 deletions data/interoperability-metadata/ets-md-iop-bsxets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Source: <a href="http://inspire.ec.europa.eu/id/ats/data/3.0rc3/interoperability
Pre-requisite conformance classes:
<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>
<reference>../../inspire-md-bsxets.xq</reference>
<version>0.2.2</version>
<version>0.2.3</version>
<author>interactive instruments GmbH</author>
<creationDate>2016-12-07T00:00:00Z</creationDate>
<lastEditor>interactive instruments GmbH</lastEditor>
Expand Down Expand Up @@ -162,11 +162,11 @@ let $messages :=
local:addMessage('TR.noEncoding', map { 'filename': local:filename($record), 'id': $rid })
else for $format in $formats
return
(if ($format/gmd:MD_Format/gmd:name/gco:CharacterString) then () else
(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/gco:CharacterString) then () else
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/gco:CharacterString) then () else
if ($format/gmd:MD_Format/gmd:specification/*) then () else
local:addMessage('TR.incompleteEncoding', map { 'filename': local:filename($record), 'id': $rid, 'missing': 'specification' }))
)[position() le $limitErrors]
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,14 @@
<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>
</translationTemplates>
</LangTranslationTemplateCollection>
<LangTranslationTemplateCollection name="TR.noDQDomainConsistencyParent">
<LangTranslationTemplateCollection name="TR.noSpecifications">
<translationTemplates>
<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>
<TranslationTemplate language="en" name="TR.noSpecifications">XML document '{filename}', record '{id}': The metadata record not contains a reference to a specification.</TranslationTemplate>
</translationTemplates>
</LangTranslationTemplateCollection>
<LangTranslationTemplateCollection name="TR.noBooleanValueForPass">
<translationTemplates>
<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>
</translationTemplates>
</LangTranslationTemplateCollection>
<LangTranslationTemplateCollection name="TR.timePeriodWithInvalidDate">
Expand Down Expand Up @@ -532,6 +537,11 @@
<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>
</translationTemplates>
</LangTranslationTemplateCollection>
<LangTranslationTemplateCollection name="TR.invalidDateForThesaurusGemet">
<translationTemplates>
<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.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 Expand Up @@ -607,6 +617,16 @@
<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>
</translationTemplates>
</LangTranslationTemplateCollection>
<LangTranslationTemplateCollection name="TR.noDQConformanceResults">
<translationTemplates>
<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>
</translationTemplates>
</LangTranslationTemplateCollection>
<LangTranslationTemplateCollection name="TR.noExpectedCitation">
<translationTemplates>
<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>
</translationTemplates>
</LangTranslationTemplateCollection>
<LangTranslationTemplateCollection name="TR.noConformityStatement">
<translationTemplates>
<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>
Expand Down
Loading

0 comments on commit 42ce92a

Please sign in to comment.