Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 1.09 KB

max-1-date-of-creation.md

File metadata and controls

33 lines (18 loc) · 1.09 KB

Max One Date of Creation

Purpose: Test that not more than one date of creation for the metadata is given.

Prerequisites

Temporal reference

Test method

  • Check that at most one Date Type element with attribute codeListValue equal 'creation' exists.

Reference(s)

Test type: Automated

Notes

The multiplicity of the element is zero or one.

According to ISO/TS 19139:2007, it is also recommended that the Date Type element has a non-empty free text value.

Contextual XPath references

The namespace prefixes used as described in README.md.

Abbreviation XPath expression (relative to /gmd:MD_Metadata/gmd:identificationInfo/*/gmd:citation/gmd:CI_Citation)
Date Type gmd:date/gmd:CI_Date/gmd:dateType/gmd:CI_DateTypeCode