#A.31.IR25.resource.creation.date
Purpose: It must be discoverable when the described resource was created.
Prerequisites
- A.01.validate must be passed
Test method
Check that at least one Creation date exists. Is it does, pass the test. Otherwise fail the test.
Reference(s)
Test type: Automated
Notes
- It's not clear either of the code list values
creation
orpublication
is enough to pass the test. The table in TG MD chapter 2.6.4 contains the codepublication
on the row "ISO/TS 19139 path", but on the other hand the example XML snippet provided uses the valuecreation
.
The namespace prefixes used as described in README.md.
Abbreviation | XPath expression (relative to gmd:MD_Metadata) |
---|---|
Creation date | ./gmd:identificationInfo[1]/*/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date[gmd:dateType/gmd:CI_DateTypeCode/(@codeList='http://www.isotc211.org/2005/resources/codeList.xml#CI_DateTypeCode' and (@codeListValue='creation' or @codeListValue='publication'))]/gmd:date/gco:Date |