adiwg / mdTranslator

Metadata translation tool built using Ruby
https://www.adiwg.org/mdTranslator/
The Unlicense
14 stars 12 forks source link

FGDC writer time-currentness tag is in wrong location #173

Closed stansmith907 closed 6 years ago

stansmith907 commented 6 years ago

The FGDC writer outputs the time currentness tag in the wrong location. This is happening in both the data identification and linage source sections.

Data identification section should be:

    <timeperd>
      <timeinfo>
        <sngdate>
          <caldate>2017-12-01</caldate>
          <time/>
        </sngdate>
      </timeinfo>
      <current>time info currentness</current>
    </timeperd>

Lineage source section should be:

        <srctime>
          <timeinfo>
            <rngdates>
              <begdate>2017-12-17</begdate>
              <begtime/>
              <enddate>2017-12-18</enddate>
              <endtime/>
            </rngdates>
          </timeinfo>
          <srccurr>description</srccurr>
        </srctime>