ISO-TC211 / XML

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

maintenance updateScope #125

Closed tedhabermann closed 9 years ago

tedhabermann commented 9 years ago
<gmd:updateScope>
                  <gmd:MD_ScopeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode" codeListValue="series">series</gmd:MD_ScopeCode>
               </gmd:updateScope>

needs to become

<gmd:updateScope>
                  <gmd:MD_ScopeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode" codeListValue="series">series</gmd:MD_ScopeCode>
               </gmd:updateScope>
fxprunayre commented 9 years ago

Both statements looks the same no ?

Testing it, I have:

<updateScope>
  <MD_ScopeCode codeList="aa" codeListValue="series">series</MD_ScopeCode>
</updateScope>

is converted to

<mmi:updateScope>
  <mcc:MD_ScopeCode codeList="aa" codeListValue="series">series</mcc:MD_ScopeCode>
</mmi:updateScope>
smrgeoinfo commented 9 years ago

maintenance

the model changed in 19115-1, so the transformed XML should be

               <mmi:maintenanceScope>
                  <mcc:MD_Scope>
                     <mcc:level>
                        <mcc:MD_ScopeCode codeList="aa" codeListValue="series">series</mcc:MD_ScopeCode>
                     </mcc:level>
                  </mcc:MD_Scope>
               </mmi:maintenanceScope>

gms:updateScope changes to mmi:maintenanceScope, and gmd:MD_ScopeCode is changed to mcc:MD_Scope

fxprunayre commented 9 years ago

Got it. Fixed in https://github.com/ISO-TC211/XML/pull/134

smrgeoinfo commented 9 years ago

fix has been merged, close