Skip to content
Permalink
1.3
Go to file
 
 
Cannot retrieve contributors at this time
31 lines (20 sloc) 1.7 KB

Vocabulary

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 and should not be an empty characterstring
  • the node must contain a date
  • the node must contain a dateType which contains text that equals one of 'publication', 'revision' or 'creation'.

Reference(s)

  • TG MD, 2.4.2, Req 16, 17 & 18

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
title gmd:identificationInfo[1]/*/gmd:descriptiveKeywords/*/gmd:thesaurusName/gmd:CI_Citation/gmd:title
date gmd:identificationInfo[1]/*/gmd:descriptiveKeywords/*/gmd:thesaurusName/gmd:CI_Citation/gmd:date/*/gmd:date/gco:Date
dateType gmd:identificationInfo[1]/*/gmd:descriptiveKeywords/*/gmd:thesaurusName//gmd:CI_Citation/gmd:date/*/gmd:dateType
You can’t perform that action at this time.