ISO-TC211 / XML

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

MD_CharacterSetCode #176

Open MarieLambois opened 7 years ago

MarieLambois commented 7 years ago

I have noticed that in ISO 19115-1 MD_CharacterSetCode is now defined as a reference to the IANA register. I have 2 questions related to this change.

  1. How should the codelist be implemented as there is no "codelist compliant" XML file ? Should it be someting like this: <gmd:MD_CharacterSetCode codeList="https://www.iana.org/assignments/character-sets/character-sets.xml" codeListValue="ISO_8859-6:1987"/>
  2. I noticed that the values from the IANA register are different from the values from ISO 19115:2003. For example utf8 in MD_CharacterSetCode is written UTF-8 in IANA register so this makes a difference between ISO 19115 and ISO 19115-1. It should also be taken into account in the XSLT transformation.
smrgeoinfo commented 6 years ago

Seems like using the IANA register is a good idea; using the element value for each record as in your example. usage of http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CharacterSetCode or https://www.iana.org/assignments/character-sets/character-sets.xml would need to be specified in a profile. Does complicate work for clients because they'd have to check for both possible values....