Purpose: Test that not more than one date of creation for the metadata is given.
Prerequisites
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.
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 |