Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.57 KB

A.14.IR16.IR17.IR18.vocab.md

File metadata and controls

33 lines (21 loc) · 1.57 KB

#A.14.IR16.IR17.IR18.vocab

Purpose: A keyword value reference can contain a controlled vocabulary from where it originates. This element is optional but, if given, must follow certain guidelines.

Prerequisites

Test method

The test performs the following check for each vocabulary:

  • the node must contain a title at ./gmd:CI_Citation/gmd:title and should not be an empty characterstring
  • the node must contain a date at /gmd:CI_Citation/gmd:date/*/gmd:date/gco:Date
  • the node must contain a dateType element at /gmd:CI_Citation/gmd:date/*/gmd:dateType which contains text that equals one of publication, revision or creation.

Validating if the keyword is actually available in the indicated vocabulary is a challenge, since the vocabulary is usually not referenced by a URL. If a vocabulary is indicated that is available to the validator, then this check can be performed.

Reference(s)

Test type: Automated

Notes

##Contextual XPath references

The namespace prefixes used as described in README.md.

Abbreviation XPath expression (relative to gmd:MD_Metadata)
thesaurus gmd:identificationInfo[1]//gmd:descriptiveKeywords//gmd:thesaurusName