| TEST TYPE: |
Abstract tests for metadata uniqueness and discovery within WIS DAR Catalogue
|
| TEST GROUP: |
Mandatory WMO_CategoryCode keyword |
| TEST ID: |
http://wis.wmo.int/2012/metadata/conf/WMO_CategoryCode-keyword-cardinality |
| TEST PURPOSE: |
Requirement 8.2.1: Each WIS Discovery Metadata record shall include at least one keyword from the WMO_CategoryCode code list |
| TEST METHOD: |
| (i) |
Inspect the instance document under test to assess whether the WMO_CategoryCode code list is specified as a keyword thesaurus within an instance of gmd:MD_Keywords using the following XPath:
| /gmd:MD_Metadata/gmd:identificationInfo//gmd:descriptiveKeywords/ |
| |
↘gmd:MD_Keywords/gmd:thesaurusName/gmd:CI_Citation/gmd:title// = “WMO_CategoryCode” |
A gmx:Anchor element may be used to specify the location of the Code List; e.g.
|
| (ii) |
Inspect the associated gmd:MD_Keywords element to ensure that at least one instance of a keyword from the WMO_CategoryCode code list is present. A normative version of the WMO_CategoryCode code list is published by WMO at: http://wis.wmo.int/2012/codelists/WMOCodeLists.xml. Instances of keyword are identified by the following XPath:
| /gmd:MD_Metadata/gmd:identificationInfo//gmd:descriptiveKeywords/ |
| |
↘gmd:MD_Keywords/gmd:keyword |
|
|