NCEAS / metadig-checks

MetaDIG suites and checks for data and metadata improvement and guidance.
Apache License 2.0
8 stars 9 forks source link

correct xpaths for resource.revisionDate.present #403

Closed jeanetteclark closed 3 years ago

jeanetteclark commented 3 years ago

lines 29-37 here contain the ISO xpaths. These should be limited to dates with dateTypeCode "revision". Also included are dateTypes of creation and publication, which don't seem to fit the definition of the check

I also think that just /eml/*/maintenance/changeHistory/changeDate should be included, excluding eml/*/pubDate, to be consistent.

DataCite should be /resource/dates/date/dateType = 'Updated'