ISO-TC211 / XML

XML schema, transforms, schematron rules, and examples for ISO TC211 Metadata Standards
46 stars 26 forks source link

ISO19139 / Mapping / Codelist may have multiple values #216

Closed fxprunayre closed 3 years ago

fxprunayre commented 3 years ago

Current mapping may produce invalid ISO19139 record

         <mri:status>
            <mcc:MD_ProgressCode codeList="http://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#MD_ProgressCode"
                                 codeListValue="obsolete"/>
         </mri:status>
         <mri:status>
            <mcc:MD_ProgressCode codeList="http://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#MD_ProgressCode"
                                 codeListValue="superseded"/>
         </mri:status>

produce 19139 with obsolete superseded instead of 2 gmd:status element

      <gmd:status>
        <gmd:MD_ProgressCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ProgressCode"
                                                 codeListValue="obsolete superseded">obsolete superseded</gmd:MD_ProgressCode>
      </gmd:status>
ejbleys commented 3 years ago

Merged into XML

Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: @. Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: @.

On 2021-05-04, at 11:51 pm, François Prunayre @.***> wrote:

Current mapping may produce invalid ISO19139 record

     <mri:status>
        <mcc:MD_ProgressCode codeList="http://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#MD_ProgressCode"
                             codeListValue="obsolete"/>
     </mri:status>
     <mri:status>
        <mcc:MD_ProgressCode codeList="http://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#MD_ProgressCode"
                             codeListValue="superseded"/>
     </mri:status>

produce 19139 with obsolete superseded instead of 2 gmd:status element

  <gmd:status>
    <gmd:MD_ProgressCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ProgressCode"
                                             codeListValue="obsolete superseded">obsolete superseded</gmd:MD_ProgressCode>
  </gmd:status>

You can view, comment on, or merge this pull request online at:

https://github.com/ISO-TC211/XML/pull/216 https://github.com/ISO-TC211/XML/pull/216 Commit Summary

ISO19139 / Mapping / Codelist may have multiple values File Changes

M schemas.isotc211.org/19115/resources/transforms/ISO19139/toISO19139.xsl https://github.com/ISO-TC211/XML/pull/216/files#diff-61084e4bca1e2f2319f32d12f72d1838fcea3fd50ee42bb48ce991de650d18ff (15) Patch Links:

https://github.com/ISO-TC211/XML/pull/216.patch https://github.com/ISO-TC211/XML/pull/216.patch https://github.com/ISO-TC211/XML/pull/216.diff https://github.com/ISO-TC211/XML/pull/216.diff — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/XML/pull/216, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZ2F6KOITMOOL46WJPLTL73UZANCNFSM44CYCW7Q.